TestSuite: Reactivation of the ENABLE_AUTOTESTING CMake variable.
This was accidentally disabled by 22de9d30b5
.
This commit is contained in:
parent
90a04a4baa
commit
1a7783c358
1 changed files with 2 additions and 1 deletions
|
@ -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}
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue