aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-13 21:35:09 +0000
committertv <tv@krebsco.de>2026-11-13 22:37:12 +0100
commit54f84159efc90ce02196915c0005e54b846251ed (patch)
tree750d3a738f5113bd4e794e52fb458f6fdb510efc /README.md
parent80d5426c3a5ed621c650cd1928f1eb1cafdb1b7a (diff)
tests: run scenarios selected by name
nix-build tests -A only --argstr only REGEX runs the scenarios whose names match the regular expression REGEX in a single VM test, like the smoke test, e.g. --argstr only 'lock-hooks-.*' for lock-hooks on all three kinds of targets.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index a95eb24..8661a21 100644
--- a/README.md
+++ b/README.md
@@ -747,6 +747,7 @@ nix-build tests -A flake # the test for one source type
nix-build tests -A exhaustive # all exhaustive tests
nix-build tests -A exhaustive.git # the remaining combinations of one test
nix-build tests -A rsync-3-5-0 # the scenarios depending on rsync's version
+nix-build tests -A only --argstr only 'lock-hooks-.*' # scenarios by name
nix-build tests -A jq # populate's programs for flakes, without VMs
```