nix-bitcoin/test/lib
Erik Arvstedt 44439e2a81
tests: optimize building multiple tests at once
The result of `import tests.nix {}` is now an attrset of tests.
This makes it easier and more efficient to evaluate or build multiple
tests in one call to `nix build`.

Simplify tests.nix by removing the large module args scope in favor of
self-contained scenario module definitions.

Add CPU core and memory size defaults to the test configuration to
enable building tests without `run-tests.sh`.

Add the following top-level args to tests.nix:
- `extraScenarios` to provide a nix-level way to define extra scenarios.
- `pkgs` to allow building tests with custom pkgs or systems.
2021-03-22 14:35:29 +01:00
..
copy-src.sh run-tests: fix interrupt handling for --copy-src 2021-02-12 21:39:46 +01:00
make-container.sh tests: optimize building multiple tests at once 2021-03-22 14:35:29 +01:00
make-test-vm.nix tests: optimize building multiple tests at once 2021-03-22 14:35:29 +01:00
make-test.nix tests: optimize building multiple tests at once 2021-03-22 14:35:29 +01:00
test-lib.nix test: add container support 2020-10-16 15:53:33 +02:00