Don't run each functional test in a different process

This commit is contained in:
Julian Kent
2019-08-21 10:42:57 +02:00
parent 63140f1d61
commit ddd4181b39
2 changed files with 1 additions and 56 deletions
+1 -2
View File
@@ -111,8 +111,7 @@ function(px4_add_functional_gtest)
add_test(NAME ${TESTNAME}
# functional tests need to run in a new process for each test,
# since they set up and tear down system components
COMMAND ${PX4_SOURCE_DIR}/Tools/run-gtest-isolated.py ${TESTNAME}
WORKING_DIRECTORY ${PX4_BINARY_DIR})
COMMAND ${PX4_BINARY_DIR}/${TESTNAME})
# attach it to the unit test target
add_dependencies(test_results ${TESTNAME})