Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Require Python3 for running tests

Commit
2ccc48e108bd64edeaf62f4745aa8b6437ab9c75
Author
Martin Hořeňovský ·
Parents
6020f8f27cf6

Files · Download .tar.gz

Changes

 CMakeLists.txt | 2 +-
 appveyor.yml   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad069449..bf2760f8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,7 +50,7 @@ add_subdirectory(src)
 
 # Build tests only if requested
 if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT)
-    find_package(PythonInterp)
+    find_package(PythonInterp 3 REQUIRED)
     if (NOT PYTHONINTERP_FOUND)
         message(FATAL_ERROR "Python not found, but required for tests")
     endif()
diff --git a/appveyor.yml b/appveyor.yml
index 8e57a59c..264794fd 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -13,7 +13,7 @@ branches:
 
 # We need a more up to date pip because Python 2.7 is EOL soon
 init:
-  - set PATH=C:\Python35\Scripts;%PATH%
+  - set PATH=C:\Python35;C:\Python35\Scripts;%PATH%
 
 
 install: