We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a2150c commit e478238Copy full SHA for e478238
regression/validate-trace-xml-schema/CMakeLists.txt
@@ -1,11 +1,11 @@
1
# The Schema tests require a JDK because we use the
2
# Java standard libraries builtin schema validation functionality
3
find_package(Java COMPONENTS Development)
4
-find_package(Python3 COMPONENTS Interpreter)
5
-if(${Python3_FOUND} AND ${Python3_VERSION} VERSION_GREATER 3.5
+find_package(PythonInterp 3.5)
+if(${PYTHONINTERP_FOUND}
6
AND ${Java_FOUND} AND ${Java_VERSION_MAJOR} VERSION_GREATER 8)
7
add_test(NAME validate-trace-xml-schema
8
- COMMAND python3 check.py $<TARGET_FILE:cbmc>
+ COMMAND ${PYTHON_EXECUTABLE} check.py $<TARGET_FILE:cbmc>
9
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
10
set_tests_properties(validate-trace-xml-schema
11
PROPERTIES
0 commit comments