From cb33b8017d1ce4b6fa7cc1087d2e7c529fc8fe0c Mon Sep 17 00:00:00 2001 From: Evgeny Posenitskiy <45995097+q-posev@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:16:25 +0200 Subject: [PATCH] Update Makefile.am --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index a183fcce..8a52e084 100644 --- a/Makefile.am +++ b/Makefile.am @@ -313,15 +313,15 @@ numpy_i = $(srcdir)/src/numpy.i if HAVE_HDF5 python-test: $(TEST_PY) - source python/trexio-venv/bin/activate - python3 -m pytest -v --all $(TEST_PY) + . python/trexio-venv/bin/activate && \ + python3 -m pytest -v --all $(TEST_PY) $(RM) -r -- __pycache__ $(RM) -f -- test_file_py.h5 unsafe_test_file_py.h5 $(RM) -rf -- test_file_py.dir unsafe_test_file_py.dir else python-test: $(TEST_PY) - source python/trexio-venv/bin/activate - python3 -m pytest -v $(TEST_PY) + . python/trexio-venv/bin/activate && \ + python3 -m pytest -v $(TEST_PY) $(RM) -r -- __pycache__ $(RM) -rf -- test_file_py.dir unsafe_test_file_py.dir endif