@@ -1,1 +1,1 | |||||
1 | Subproject commit 79fb0ced05d752f6e9260afddb38cc0d50e80c6d |
|
1 | Subproject commit 65c558a3025bc4ab1701c51a15427ccbf9d86cd3 |
@@ -39,6 +39,8 declare_test(TestAmdaResultParser TestAmdaResultParser tests/TestAmdaResultParse | |||||
39 | declare_test(TestAmdaAcquisition TestAmdaAcquisition tests/TestAmdaAcquisition.cpp "amdaplugin;Qt5::Test") |
|
39 | declare_test(TestAmdaAcquisition TestAmdaAcquisition tests/TestAmdaAcquisition.cpp "amdaplugin;Qt5::Test") | |
40 | declare_test(TestAmdaFuzzing TestAmdaFuzzing "tests/TestAmdaFuzzing.cpp;tests/FuzzingValidators.cpp;tests/FuzzingUtils.cpp;tests/FuzzingOperations.cpp;tests/FuzzingDefs.cpp" "amdaplugin;Qt5::Test") |
|
40 | declare_test(TestAmdaFuzzing TestAmdaFuzzing "tests/TestAmdaFuzzing.cpp;tests/FuzzingValidators.cpp;tests/FuzzingUtils.cpp;tests/FuzzingOperations.cpp;tests/FuzzingDefs.cpp" "amdaplugin;Qt5::Test") | |
41 |
|
41 | |||
|
42 | ||||
|
43 | if(PyWrappers) | |||
42 | pybind11_add_module(pytestamda tests/PyTestAmdaWrapper.cpp) |
|
44 | pybind11_add_module(pytestamda tests/PyTestAmdaWrapper.cpp) | |
43 | target_link_libraries(pytestamda PUBLIC amdaplugin) |
|
45 | target_link_libraries(pytestamda PUBLIC amdaplugin) | |
44 | target_link_libraries(pytestamda PUBLIC pysciqlop) |
|
46 | target_link_libraries(pytestamda PUBLIC pysciqlop) | |
@@ -82,3 +84,5 add_test(NAME TestAmdaDownload | |||||
82 | ${CMAKE_CURRENT_LIST_DIR}/tests/TestAmdaDownload.py |
|
84 | ${CMAKE_CURRENT_LIST_DIR}/tests/TestAmdaDownload.py | |
83 | TestAmdaDownload) |
|
85 | TestAmdaDownload) | |
84 | set_tests_properties(TestAmdaDownload PROPERTIES ENVIRONMENT PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}:${CORE_PYTHON_PATH}) |
|
86 | set_tests_properties(TestAmdaDownload PROPERTIES ENVIRONMENT PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}:${CORE_PYTHON_PATH}) | |
|
87 | ||||
|
88 | endif(PyWrappers) |
@@ -26,6 +26,8 include(sciqlop_tests) | |||||
26 | add_definitions(-DMOCKPLUGIN_TESTS_RESOURCES_DIR="${CMAKE_CURRENT_LIST_DIR}/tests-resources") |
|
26 | add_definitions(-DMOCKPLUGIN_TESTS_RESOURCES_DIR="${CMAKE_CURRENT_LIST_DIR}/tests-resources") | |
27 |
|
27 | |||
28 | #declare_test(TestCosinusAcquisition TestCosinusAcquisition tests/TestCosinusAcquisition.cpp "mockplugin;Qt5::Test") |
|
28 | #declare_test(TestCosinusAcquisition TestCosinusAcquisition tests/TestCosinusAcquisition.cpp "mockplugin;Qt5::Test") | |
|
29 | if(PyWrappers) | |||
29 | pybind11_add_module(pytestmockplugin tests/PyTestMockPluginWrapper.cpp) |
|
30 | pybind11_add_module(pytestmockplugin tests/PyTestMockPluginWrapper.cpp) | |
30 | target_link_libraries(pytestmockplugin PUBLIC mockplugin) |
|
31 | target_link_libraries(pytestmockplugin PUBLIC mockplugin) | |
31 | target_link_libraries(pytestmockplugin PUBLIC pysciqlop) |
|
32 | target_link_libraries(pytestmockplugin PUBLIC pysciqlop) | |
|
33 | endif() |
General Comments 0
You need to be logged in to leave comments.
Login now