run-tests: add 'vm' command

This commit is contained in:
Erik Arvstedt
2021-03-26 23:23:22 +01:00
parent aea1706e49
commit 3cce822c64
3 changed files with 49 additions and 0 deletions

View File

@@ -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