Merge #348: run-tests: add 'vm' command
3cce822c64run-tests: add 'vm' command (Erik Arvstedt) Pull request description: ACKs for top commit: nixbitcoin: ACK3cce822c64Tree-SHA512: 1b7cdc0bc3b73634fdc6abd6817417fd49853be076cf71cc54487e5db9e97e67832eef5ecbb8e899e30a91a60ff333e022e51cc664df7364417240f05096eb16
This commit is contained in:
commit
9e7d9ee475
3 changed files with 49 additions and 0 deletions
|
|
@ -45,9 +45,14 @@ the host system.
|
|||
git clone https://github.com/fort-nix/nix-bitcoin
|
||||
cd nix-bitcoin/test
|
||||
|
||||
# Run a node in a VM. No tests are executed.
|
||||
./run-tests.sh vm
|
||||
systemctl status bitcoind
|
||||
|
||||
# Run a Python test shell inside a VM node
|
||||
./run-tests.sh debug
|
||||
print(succeed("systemctl status bitcoind"))
|
||||
run_test("bitcoind")
|
||||
|
||||
# Run a node in a container. Requires systemd and root privileges.
|
||||
./run-tests.sh container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue