Commit 271a10c2 authored by David Frank's avatar David Frank
Browse files

Create seperate folder for test reports

parent 39590c34
...@@ -17,7 +17,9 @@ MACRO (ELSA_TEST NAME) ...@@ -17,7 +17,9 @@ MACRO (ELSA_TEST NAME)
# if we use JUnit reporter handle arguments # if we use JUnit reporter handle arguments
if(${ELSA_CREATE_JUNIT_REPORTS}) if(${ELSA_CREATE_JUNIT_REPORTS})
set(ELSA_JUNIT_ARGUMENTS "-r junit" "-o test_${NAME}.xml") file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/test_reports)
set(ELSA_JUNIT_ARGUMENTS "-r junit" "-o ${PROJECT_BINARY_DIR}/test_reports/test_${NAME}.xml")
endif(${ELSA_CREATE_JUNIT_REPORTS}) endif(${ELSA_CREATE_JUNIT_REPORTS})
# let Catch discover and register all the test cases # let Catch discover and register all the test cases
...@@ -54,11 +56,6 @@ if(${ELSA_MASTER_PROJECT}) ...@@ -54,11 +56,6 @@ if(${ELSA_MASTER_PROJECT})
endif() endif()
endif(${ELSA_BUILD_WITH_MORE_WARNINGS}) endif(${ELSA_BUILD_WITH_MORE_WARNINGS})
endforeach (_component ELSA_REGISTERED_COMPONENTS) endforeach (_component ELSA_REGISTERED_COMPONENTS)
# add sanitizers if enabled
if(${ELSA_BUILD_WITH_SANITIZERS})
include(${PROJECT_SOURCE_DIR}/cmake/Sanitizers.cmake)
endif(${ELSA_BUILD_WITH_SANITIZERS})
endif(${ELSA_MASTER_PROJECT}) endif(${ELSA_MASTER_PROJECT})
# propogate the variable to the parent scope # propogate the variable to the parent scope
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment