[tests] Make rpcauth.py testable and add unit tests

refs #12995
This commit is contained in:
Qasim Javed
2018-04-23 00:39:12 -07:00
parent a0079d4b6d
commit 6674a75bfb
4 changed files with 81 additions and 19 deletions
+2
View File
@@ -156,6 +156,8 @@ bitcoin_test_clean : FORCE
check-local: $(BITCOIN_TESTS:.cpp=.cpp.test)
@echo "Running test/util/bitcoin-util-test.py..."
$(PYTHON) $(top_builddir)/test/util/bitcoin-util-test.py
@echo "Running test/util/rpcauth-test.py..."
$(PYTHON) $(top_builddir)/test/util/rpcauth-test.py
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C secp256k1 check
if EMBEDDED_UNIVALUE
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C univalue check