Skip to content

Commit c09f969

Browse files
committed
Run test_sce only if Python 3 is found
1 parent ffcbfe2 commit c09f969

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/sce/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
if(ENABLE_SCE)
2-
add_oscap_test("test_sce.sh")
2+
if(${PYTHON_VERSION_MAJOR} EQUAL "3")
3+
add_oscap_test("test_sce.sh")
4+
endif()
35
add_oscap_test("test_passing_vars.sh")
46
add_oscap_test("test_check_engine_results.sh")
57
add_oscap_test("test_sce_parse_errors.sh")

0 commit comments

Comments
 (0)