Skip to content
Browse files

Disable t/ in 'make test' unless TEST_META=1

In other words:

	make test                # doesn't run metadata tests
	TEST_META=1 make test    # does run metadata tests

The metadata tests still fail randomly on some people's computers, but we're
falling too far behind and it's time to make a release.  The metadata stuff
isn't used anywhere critical in bup yet, so it's okay to leave it in but not
test it for now.

Signed-off-by: Avery Pennarun <>
  • Loading branch information...
1 parent f86b7b8 commit ff8576a37ba2cb8da0be938adef8e25bb5d85eff @apenwarr committed
Showing with 6 additions and 2 deletions.
  1. +6 −2 Makefile
8 Makefile
@@ -79,11 +79,15 @@ lib/bup/
runtests: all runtests-python runtests-cmdline
- $(PYTHON) t/t*.py lib/*/t/t*.py
+ $(PYTHON) \
+ $(wildcard t/t*.py) \
+ $(filter-out lib/bup/t/,$(wildcard lib/*/t/t*.py))
+ [ -z "${TEST_META}" ] || \
+ $(PYTHON) lib/bup/t/
runtests-cmdline: all
- t/
+ [ -z "${TEST_META}" ] || t/
PATH=/bin:/usr/bin $(MAKE) test

0 comments on commit ff8576a

Please sign in to comment.
Something went wrong with that request. Please try again.