8b438cb97e
This includes the basic CMake infrastructure for building and executing the test suite. Four test categories have been added - unit, system/functional, GUI, and simgear unit tests. The test suite is run by typing 'make test_suite'. All of the fgfs sources are included in the new run_test_suite executable, excluding the bootstrap routine and its main() function. The test suite currently consists of a single dummy unit test for the NasalSys subsystem, and a single demonstration simgear/props unit test.
19 lines
276 B
CMake
19 lines
276 B
CMake
# Add each GUI test category.
|
|
foreach( gui_test_category
|
|
)
|
|
|
|
add_subdirectory(${gui_test_category})
|
|
|
|
endforeach( gui_test_category )
|
|
|
|
|
|
set(TESTSUITE_SOURCES
|
|
${TESTSUITE_SOURCES}
|
|
PARENT_SCOPE
|
|
)
|
|
|
|
|
|
set(TESTSUITE_HEADERS
|
|
${TESTSUITE_HEADERS}
|
|
PARENT_SCOPE
|
|
)
|