522c742419
Only the in-sim version works for now, the test-suite mode is not implemented yet. Also the test API will evolve, but should stay close to what CppUnit defines. Run a test file by specifying a path to nasal-test : examples will be added to FGData shortly.
21 lines
689 B
CMake
21 lines
689 B
CMake
set(TESTSUITE_SOURCES
|
|
${TESTSUITE_SOURCES}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testGlobals.cxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/NavDataCache.cxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/PrivateAccessorFDM.cxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scene_graph.cxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/TestPilot.cxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/NasalUnitTesting_TestSuite.cxx
|
|
PARENT_SCOPE
|
|
)
|
|
|
|
|
|
set(TESTSUITE_HEADERS
|
|
${TESTSUITE_HEADERS}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testGlobals.hxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/NavDataCache.hxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/PrivateAccessorFDM.hxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scene_graph.hxx
|
|
${CMAKE_CURRENT_SOURCE_DIR}/TestPilot.hxx
|
|
PARENT_SCOPE
|
|
)
|