# This file is the entry with which the test should be executed. It sets the environement to correct values for the tests. # After building the project a correctly configured copy of this file should be available in the build folder. # Executing "ctest -T Test" in the build folder should execute the tests automatically using this file. set(ENV{OV_BINARY_PATH} "@DIST_ROOT@") set(OV_CONFIG_SUBDIR @OV_CONFIG_SUBDIR@) # This is used in the dart files set(CMAKE_COMMAND "@CMAKE_COMMAND@") if(WIN32) set(ENV{OV_USERDATA} "$ENV{APPDATA}/${OV_CONFIG_SUBDIR}/") else() SET(ENV{OV_USERDATA} "$ENV{HOME}/.config/${OV_CONFIG_SUBDIR}/") endif() SET(OV_LOGFILE "$ENV{OV_USERDATA}/log/openvibe-designer.log") set(CTEST_SOURCE_DIRECTORY "@CMAKE_SOURCE_DIR@") # this is the folder where test scenarios can be run under set(ENV{OV_TEST_DEPLOY_PATH} "${CTEST_SOURCE_DIRECTORY}/local-tmp/test-deploy/") # subdirs command is deprecated and should be replaced by add_subdirectory calls as per the documentation recommendations, # however the 2 command do not have the same behavior with ctest. Doing the change currently breaks tests. subdirs("${CTEST_SOURCE_DIRECTORY}/contrib/plugins/server-extensions/tcp-tagging/test") #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/acquisition/test") # No tests here subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/artifact/test") subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/classification/test") subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/data-generation/test") #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/dll-bridge/test") # No tests here subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/evaluation/test") #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/examples/test") # No tests here subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/features-selection/test") subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/file-io/test") #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/matlab/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/network-io/test") # No tests here subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/riemannian/test") subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/signal-processing/test") subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/simple-visualization/test") subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/stimulation/test") #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/streaming/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/tests/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/tools/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/vrpn/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/platform/acquisition-server/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/demos/ssvep-demo/test") # No tests here subdirs("${CTEST_SOURCE_DIRECTORY}/applications/demos/vr-demo/test") #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/developer-tools/plugin-inspector/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/developer-tools/skeleton-generator/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/developer-tools/vrpn-simulator/test") # No tests here #subdirs("${CTEST_SOURCE_DIRECTORY}/documentation/test") # No tests here