test: allow for testing all scenarios

Test all scenarios by default when running 'build' (which happens
when the script is called without arguments).

Default to scenario 'default' in other test commands like 'debug'.
This commit is contained in:
Erik Arvstedt
2020-08-25 14:53:13 +02:00
parent 28236691aa
commit 91697b1427
2 changed files with 30 additions and 32 deletions
+1
View File
@@ -1,5 +1,6 @@
# Integration test, can be run without internet access.
# Make sure to update build() in ./run-tests.sh when adding new scenarios
{ scenario ? "default" }:
import ./make-test.nix rec {