runtests: runtests-python runtests-cmdline
-python_tests := \
- test/int/tbloom.py \
- test/int/tclient.py \
- test/int/tcompat.py \
- test/int/tgit.py \
- test/int/thashsplit.py \
- test/int/thelpers.py \
- test/int/tindex.py \
- test/int/tmetadata.py \
- test/int/toptions.py \
- test/int/tresolve.py \
- test/int/tshquote.py \
- test/int/tvfs.py \
- test/int/tvint.py \
- test/int/txstat.py
-
-
-# The "pwd -P" here may not be appropriate in the long run, but we
-# need it until we settle the relevant drecurse/exclusion questions:
-# https://groups.google.com/forum/#!topic/bup-list/9ke-Mbp10Q0
runtests-python: all test/tmp
- mkdir -p test/tmp/test-log
- $(pf); cd $$(pwd -P); TMPDIR="$(test_tmp)" \
- ./wvtest.py $(python_tests) 2>&1 \
- | tee -a test/tmp/test-log/$$$$.log
+ ./pytest
cmdline_tests := \
test/ext/test.sh \
test: all
if test -e test/tmp/test-log; then rm -r test/tmp/test-log; fi
mkdir -p test/tmp/test-log
+ $(MAKE) runtests-python
./wvtest watch --no-counts \
- $(MAKE) runtests 2>test/tmp/test-log/$$$$.log
+ $(MAKE) runtests-cmdline 2>test/tmp/test-log/$$$$.log
./wvtest report test/tmp/test-log/*.log
check: test