summaryrefslogtreecommitdiff
path: root/sci-chemistry/gromacs/files/gromacs-2020_beta1-pytest.patch
blob: 452987f38b96d3f76054661ccb0fde36d704be4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN gromacs-2020-beta1/python_packaging/src/CMakeLists.txt gromacs-2020-beta1-py/python_packaging/src/CMakeLists.txt
--- gromacs-2020-beta1/python_packaging/src/CMakeLists.txt	2019-09-12 05:48:57.000000000 +0300
+++ gromacs-2020-beta1-py/python_packaging/src/CMakeLists.txt	2019-10-09 17:01:30.845304765 +0300
@@ -201,5 +201,7 @@
 # to the `check` target. Normal usage is to first install the Python package,
 # then run `pytest` on the `tests` directory. Refer to gmxapi package documentation.
 if(NOT GMXAPI_MASTER_PROJECT)
-    add_subdirectory(test)
+	if (GMX_BUILD_TESTING)
+		add_subdirectory(test)
+	endif()
 endif()