File tree Expand file tree Collapse file tree 3 files changed +11
-27
lines changed Expand file tree Collapse file tree 3 files changed +11
-27
lines changed Original file line number Diff line number Diff line change @@ -13,36 +13,20 @@ Building
1313
1414Dependencies
1515
16- sudo dnf install libsecp256k1-devel
16+ Build libsecp256k1 with ` ./configure --enable-module-recovery ` , see
17+ https://github.com/golemfactory/golem/issues/2168 for background.
1718
1819 pip3 install --user base58
1920 pip3 install --user bitstring
2021 pip3 install --user secp256k1
2122
2223Run all of the integration tests:
23- ```
24- SUBDAEMON='hsmd:remote_hsmd' \
25- make \
26- PYTEST_PAR=1 \
27- DEVELOPER=1 \
28- VALGRIND=0 \
29- pytest \
30- |& tee log
31- ```
3224
33- Single test, excercises funding transaction:
34- ```
35- PYTHONPATH=`pwd`/hsmd:`pwd`/contrib/pylightning:`pwd`/contrib/pyln-testing:`pwd`/contrib/pyln-client:$PYTHONPATH \
36- TEST_DEBUG=1 \
37- DEVELOPER=1 \
38- VALGRIND=0 \
39- SLOW_MACHINE=1 \
40- SUBDAEMON='hsmd:remote_hsmd' \
41- pytest \
42- $THETEST \
43- -v --timeout=550 --timeout_method=thread -x -s \
44- |& tee log
45- ```
25+ ./contrib/remote_hsmd/scripts/run-all-tests |& tee log
26+
27+ Run a single test:
28+
29+ ./contrib/remote_hsmd/scripts/run-one-test $THETEST |& tee log
4630
4731Some popular tests:
4832
Original file line number Diff line number Diff line change 55PYTEST_PAR=1 \
66DEVELOPER=1 \
77VALGRIND=0 \
8- pytest \
9- | & tee log
8+ pytest
9+
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ SLOW_MACHINE=1 \
1717SUBDAEMON=' hsmd:remote_hsmd' \
1818pytest \
1919$THETEST \
20- -v --timeout=550 --timeout_method=thread -x -s \
21- | & tee log
20+ -v --timeout=550 --timeout_method=thread -x -s
21+
You can’t perform that action at this time.
0 commit comments