Skip to content

Commit edbb2cc

Browse files
committed
Added scripts/{run-all-tests,run-one-test}.
1 parent a9dced1 commit edbb2cc

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

contrib/remote_hsmd/NOTES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ Building
1111
./configure --enable-developer
1212
make
1313

14+
Dependencies
15+
16+
sudo dnf install libsecp256k1-devel
17+
18+
pip3 install --user base58
19+
pip3 install --user bitstring
20+
pip3 install --user secp256k1
21+
1422
Run all of the integration tests:
1523
```
1624
SUBDAEMON='hsmd:remote_hsmd' \
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/sh
2+
3+
SUBDAEMON='hsmd:remote_hsmd' \
4+
make \
5+
PYTEST_PAR=1 \
6+
DEVELOPER=1 \
7+
VALGRIND=0 \
8+
pytest \
9+
|& tee log
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/sh
2+
3+
THETEST=$1
4+
5+
export PYTHONPATH=\
6+
`pwd`/hsmd:\
7+
`pwd`/contrib/pylightning:\
8+
`pwd`/contrib/pyln-proto:\
9+
`pwd`/contrib/pyln-testing:\
10+
`pwd`/contrib/pyln-client:\
11+
$PYTHONPATH
12+
13+
TEST_DEBUG=1 \
14+
DEVELOPER=1 \
15+
VALGRIND=0 \
16+
SLOW_MACHINE=1 \
17+
SUBDAEMON='hsmd:remote_hsmd' \
18+
pytest \
19+
$THETEST \
20+
-v --timeout=550 --timeout_method=thread -x -s \
21+
|& tee log

0 commit comments

Comments
 (0)