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.
12 lines
273 B
CMake
12 lines
273 B
CMake
set(TESTSUITE_SOURCES
|
|
${TESTSUITE_SOURCES}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/TestSuite.cxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_props.cxx
|
|
PARENT_SCOPE
|
|
)
|
|
|
|
set(TESTSUITE_HEADERS
|
|
${TESTSUITE_HEADERS}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_props.hxx
|
|
PARENT_SCOPE
|
|
)
|