run-tests: allow defining scenarios via cmdline args
This simplifies running self-contained scenarios for testing and debugging.
This commit is contained in:
parent
fc40776689
commit
44546561fc
2 changed files with 28 additions and 4 deletions
|
|
@ -55,5 +55,11 @@ c systemctl status bitcoind
|
|||
|
||||
# Explore a single feature
|
||||
./run-tests.sh --scenario electrs container
|
||||
|
||||
# Run a command in a container
|
||||
./run-tests.sh --scenario '{
|
||||
services.clightning.enable = true;
|
||||
nix-bitcoin.nodeinfo.enable = true;
|
||||
}' container --run c nodeinfo
|
||||
```
|
||||
See [`run-tests.sh`](../test/run-tests.sh) for a complete documentation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue