diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /dev-cpp/catch/files | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-cpp/catch/files')
-rw-r--r-- | dev-cpp/catch/files/catch-2.3.0-python-automagic.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/dev-cpp/catch/files/catch-2.3.0-python-automagic.patch b/dev-cpp/catch/files/catch-2.3.0-python-automagic.patch deleted file mode 100644 index c7fa4c6d22f6..000000000000 --- a/dev-cpp/catch/files/catch-2.3.0-python-automagic.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -36,7 +36,11 @@ - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ENTRY:wmainCRTStartup") - endif() - -+find_package(PythonInterp) - if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT) -+ if (NOT PYTHONINTERP_FOUND) -+ message(FATAL_ERROR "Python not found, but required for tests") -+ endif() - add_subdirectory(projects) - endif() - ---- a/projects/CMakeLists.txt -+++ b/projects/CMakeLists.txt -@@ -317,7 +317,7 @@ - set_tests_properties(NoTest PROPERTIES PASS_REGULAR_EXPRESSION "No test cases matched") - - # AppVeyor has a Python 2.7 in path, but doesn't have .py files as autorunnable --add_test(NAME ApprovalTests COMMAND python ${CATCH_DIR}/scripts/approvalTests.py $<TARGET_FILE:SelfTest>) -+add_test(NAME ApprovalTests COMMAND ${PYTHON_EXECUTABLE} ${CATCH_DIR}/scripts/approvalTests.py $<TARGET_FILE:SelfTest>) - set_tests_properties(ApprovalTests PROPERTIES FAIL_REGULAR_EXPRESSION "Results differed") - - if (CATCH_USE_VALGRIND) |