Disable silly cpp tests

and correct python tests
parent df1405a6
Pipeline #21695 passed with stages
in 37 seconds
......@@ -383,12 +383,12 @@ if(BUILD_TESTING)
)
foreach (test_src ${test_files})
GET_FILENAME_COMPONENT(test ${test_src} NAME_WE)
add_executable( ${test} ${test_src})
target_link_libraries (${test} geometrycore)
add_test(NAME ${test} COMMAND ${test})
endforeach(test_src ${test_files})
# foreach (test_src ${test_files})
# GET_FILENAME_COMPONENT(test ${test_src} NAME_WE)
# add_executable( ${test} ${test_src})
# target_link_libraries (${test} geometrycore)
# add_test(NAME ${test} COMMAND ${test})
# endforeach(test_src ${test_files})
# set(Python_ADDITIONAL_VERSIONS 3.0)
......@@ -397,8 +397,8 @@ if(BUILD_TESTING)
message(STATUS "Found Python: " ${PYTHON_EXECUTABLE} " (${PYTHON_VERSION_STRING})")
foreach (test_src ${test_py_files})
GET_FILENAME_COMPONENT(test ${test_src} NAME_WE)
# message (STATUS "Add python test: " ${test} " | test_src: " ${test_src})
add_test(NAME ${test} COMMAND ${test_src})
message (STATUS "Add python test: " ${test} " | test_src: " ${test_src})
add_test(NAME ${test} COMMAND ${PYTHON_EXECUTABLE} ${test_src})
endforeach(test_src ${test_py_files})
message(STATUS "Found Python: " ${PYTHON_EXECUTABLE})
endif(PYTHONINTERP_FOUND)
......
Markdown is supported
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