Skip to content

Commit

Permalink
Update Makefile.am
Browse files Browse the repository at this point in the history
  • Loading branch information
q-posev authored Jun 14, 2024
1 parent f90070a commit cb33b80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb33b80

Please sign in to comment.