diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2014-12-19 18:02:44 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2014-12-19 18:04:12 -0500 |
commit | be43492945f740514ad5f949d9bb4f47ef2b1926 (patch) | |
tree | 7b9d43bf21502c39ed3bbe7fa2ae094e8ac263de /src/Makefile.test.include | |
parent | f914f1a746d7f91951c1da262a4a749dd3ebfa71 (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/Makefile.test.include')
-rw-r--r-- | src/Makefile.test.include | 4 |
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 |