]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
pytest may also be installed as py-test[-3]
[nominatim.git] / CMakeLists.txt
index dd73870502a947c62510fbeb57c992b9fd915539..3a9ceed91a66e7e56600d01eef3e23a95395ab29 100644 (file)
@@ -142,7 +142,7 @@ if (BUILD_TESTS)
 
     find_program(PYTHON_BEHAVE behave)
     find_program(PYLINT NAMES pylint3 pylint)
-    find_program(PYTEST pytest)
+    find_program(PYTEST NAMES pytest py.test-3 py.test)
     find_program(PHPCS phpcs)
     find_program(PHPUNIT phpunit)