aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-12-19 18:02:44 -0500
committerCory Fields <cory-nospam-@coryfields.com>2014-12-19 18:04:12 -0500
commitbe43492945f740514ad5f949d9bb4f47ef2b1926 (patch)
tree7b9d43bf21502c39ed3bbe7fa2ae094e8ac263de /src
parentf914f1a746d7f91951c1da262a4a749dd3ebfa71 (diff)
build: fix 'make distcheck'
Rather than treating the .py as a regular built test, run it from check-local so that we can better control the paths used.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.test.include4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index 9e9f478d8f..c6bd0cf9c6 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -1,4 +1,4 @@
-TESTS += test/test_bitcoin test/bitcoin-util-test.py
+TESTS += test/test_bitcoin
bin_PROGRAMS += test/test_bitcoin
TEST_SRCDIR = test
TEST_BINARY=test/test_bitcoin$(EXEEXT)
@@ -105,6 +105,8 @@ bitcoin_test_clean : FORCE
rm -f $(CLEAN_BITCOIN_TEST) $(test_test_bitcoin_OBJECTS) $(TEST_BINARY)
check-local:
+ @echo "Running test/bitcoin-util-test.py..."
+ $(AM_V_at)srcdir=$(srcdir) PYTHONPATH=$(builddir)/test $(srcdir)/test/bitcoin-util-test.py
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C secp256k1 check
%.json.h: %.json