Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Disable t/test-meta.sh 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 <apenwarr@gmail.com>
  • Loading branch information...
commit ff8576a37ba2cb8da0be938adef8e25bb5d85eff 1 parent f86b7b8
@apenwarr authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 Makefile
View
8 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
Please sign in to comment.
Something went wrong with that request. Please try again.