You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CTestTestfile.cmake 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # This file is the entry with which the test should be executed. It sets the environement to correct values for the tests.
  2. # After building the project a correctly configured copy of this file should be available in the build folder.
  3. # Executing "ctest -T Test" in the build folder should execute the tests automatically using this file.
  4. set(ENV{OV_BINARY_PATH} "@DIST_ROOT@")
  5. set(OV_CONFIG_SUBDIR @OV_CONFIG_SUBDIR@) # This is used in the dart files
  6. set(CMAKE_COMMAND "@CMAKE_COMMAND@")
  7. if(WIN32)
  8. set(ENV{OV_USERDATA} "$ENV{APPDATA}/${OV_CONFIG_SUBDIR}/")
  9. else()
  10. SET(ENV{OV_USERDATA} "$ENV{HOME}/.config/${OV_CONFIG_SUBDIR}/")
  11. endif()
  12. SET(OV_LOGFILE "$ENV{OV_USERDATA}/log/openvibe-designer.log")
  13. set(CTEST_SOURCE_DIRECTORY "@CMAKE_SOURCE_DIR@")
  14. # this is the folder where test scenarios can be run under
  15. set(ENV{OV_TEST_DEPLOY_PATH} "${CTEST_SOURCE_DIRECTORY}/local-tmp/test-deploy/")
  16. # subdirs command is deprecated and should be replaced by add_subdirectory calls as per the documentation recommendations,
  17. # however the 2 command do not have the same behavior with ctest. Doing the change currently breaks tests.
  18. subdirs("${CTEST_SOURCE_DIRECTORY}/contrib/plugins/server-extensions/tcp-tagging/test")
  19. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/acquisition/test") # No tests here
  20. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/artifact/test")
  21. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/classification/test")
  22. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/data-generation/test")
  23. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/dll-bridge/test") # No tests here
  24. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/evaluation/test")
  25. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/examples/test") # No tests here
  26. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/features-selection/test")
  27. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/file-io/test")
  28. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/matlab/test") # No tests here
  29. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/network-io/test") # No tests here
  30. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/riemannian/test")
  31. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/signal-processing/test")
  32. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/simple-visualization/test")
  33. subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/stimulation/test")
  34. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/streaming/test") # No tests here
  35. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/tests/test") # No tests here
  36. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/tools/test") # No tests here
  37. #subdirs("${CTEST_SOURCE_DIRECTORY}/plugins/processing/vrpn/test") # No tests here
  38. #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/platform/acquisition-server/test") # No tests here
  39. #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/demos/ssvep-demo/test") # No tests here
  40. subdirs("${CTEST_SOURCE_DIRECTORY}/applications/demos/vr-demo/test")
  41. #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/developer-tools/plugin-inspector/test") # No tests here
  42. #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/developer-tools/skeleton-generator/test") # No tests here
  43. #subdirs("${CTEST_SOURCE_DIRECTORY}/applications/developer-tools/vrpn-simulator/test") # No tests here
  44. #subdirs("${CTEST_SOURCE_DIRECTORY}/documentation/test") # No tests here