Skip to content

Commit 2c6b6fc

Browse files
committed
Updated dependency instructions and test running instructions.
1 parent 29e6c30 commit 2c6b6fc

File tree

3 files changed

+11
-27
lines changed

3 files changed

+11
-27
lines changed

contrib/remote_hsmd/NOTES.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,20 @@ Building
1313

1414
Dependencies
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

2223
Run 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

4731
Some popular tests:
4832

contrib/remote_hsmd/scripts/run-all-tests

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ make \
55
PYTEST_PAR=1 \
66
DEVELOPER=1 \
77
VALGRIND=0 \
8-
pytest \
9-
|& tee log
8+
pytest
9+

contrib/remote_hsmd/scripts/run-one-test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ SLOW_MACHINE=1 \
1717
SUBDAEMON='hsmd:remote_hsmd' \
1818
pytest \
1919
$THETEST \
20-
-v --timeout=550 --timeout_method=thread -x -s \
21-
|& tee log
20+
-v --timeout=550 --timeout_method=thread -x -s
21+

0 commit comments

Comments
 (0)