]> arthur.barton.de Git - bup.git/blobdiff - Makefile
Disable t/test-meta.sh in 'make test' unless TEST_META=1
[bup.git] / Makefile
index c71dac4cdb103186bdcb02327983485247436c18..ce91ff0172451b167f76db86ad13cc8aa207bdf1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -79,11 +79,15 @@ lib/bup/_version.py:
 runtests: all runtests-python runtests-cmdline
 
 runtests-python:
-       $(PYTHON) wvtest.py t/t*.py lib/*/t/t*.py
+       $(PYTHON) wvtest.py \
+               $(wildcard t/t*.py) \
+               $(filter-out lib/bup/t/tmetadata.py,$(wildcard lib/*/t/t*.py))
+       [ -z "${TEST_META}" ] || \
+       $(PYTHON) wvtest.py lib/bup/t/tmetadata.py
 
 runtests-cmdline: all
        t/test.sh
-       t/test-meta.sh
+       [ -z "${TEST_META}" ] || t/test-meta.sh
 
 stupid:
        PATH=/bin:/usr/bin $(MAKE) test