1
0
Fork 0

TestSuite: Reactivation of the ENABLE_AUTOTESTING CMake variable.

This was accidentally disabled by 22de9d30b5.
This commit is contained in:
Edward d'Auvergne 2020-01-09 12:37:57 +01:00
parent 90a04a4baa
commit 1a7783c358

View file

@ -135,6 +135,7 @@ set_target_properties(fgfs_test_suite
RUNTIME_OUTPUT_DIRECTORY "${TESTSUITE_OUTPUT_DIR}"
)
if(ENABLE_AUTOTESTING)
set(TEST_SUITE_COMMAND "fgfs_test_suite")
set(TEST_SUITE_COMMENT "Running the full FlightGear test suite")
else()
set(TEST_SUITE_COMMENT "Building the FlightGear test suite.")
@ -162,7 +163,7 @@ if (MSVC)
endif()
add_custom_target(test_suite
fgfs_test_suite
${TEST_SUITE_COMMAND}
DEPENDS fgfs_test_suite
COMMENT ${TEST_SUITE_COMMENT}
)