Skip to content

Commit

Permalink
env
Browse files Browse the repository at this point in the history
  • Loading branch information
abraunst committed Sep 29, 2023
1 parent 37704a2 commit f136fc8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ ${SO}: bp.o params.o drop.o pysib.cpp ${DEP}

test: ${DOCTEST}

${DOCTEST}: sib ${SO}
env:
@which ${PYTHON}
@which ${PYTHON_CONFIG}

${DOCTEST}: env sib ${SO}
@${PYTHON} -c "import sys, doctest; (f,t) = doctest.testfile(\"$@\"); print(f'DOCTEST $@: PASSED {t-f}/{t}'); sys.exit(int(f > 0))"

clean:
Expand Down

0 comments on commit f136fc8

Please sign in to comment.