This commit is contained in:
Timur A. Fatkhullin
2025-06-15 22:49:02 +03:00
parent 4ebaac2dcb
commit 5a5854ccdd
7 changed files with 388 additions and 31 deletions

View File

@@ -151,15 +151,15 @@ if (WITH_TESTS)
target_include_directories(${FITPACK_TEST_APP} PRIVATE ${FITPACK_INCLUDE_DIR})
# message(STATUS "INC UP: " ${FITPACK_INCLUDE_DIR})
set(FSM_TEST_APP fsm_test)
add_executable(${FSM_TEST_APP} tests/fsm_test.cpp)
# set(FSM_TEST_APP fsm_test)
# add_executable(${FSM_TEST_APP} tests/fsm_test.cpp)
# set(TESTS_SRC tests/configfile_test.cpp tests/astrom_test.cpp tests/fitpack_test.cpp tests/fsm_test.cpp)
set(TESTS_SRC tests/coord.cpp)
set(TESTS_SRC tests/coord.cpp tests/fsm.cpp tests/mount.cpp)
create_test_sourcelist(Tests common_tests.cpp ${TESTS_SRC})
add_executable(common_tests ${Tests})
# target_include_directories(common_tests PRIVATE ${FITPACK_INCLUDE_DIR})
target_include_directories(common_tests PRIVATE ${FITPACK_INCLUDE_DIR})
target_link_libraries(common_tests fitpack)
foreach (test ${TESTS_SRC})
get_filename_component (TName ${test} NAME_WE)