diff options
| author | tv <tv@krebsco.de> | 2026-11-13 21:35:09 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-13 22:37:12 +0100 |
| commit | 54f84159efc90ce02196915c0005e54b846251ed (patch) | |
| tree | 750d3a738f5113bd4e794e52fb458f6fdb510efc /README.md | |
| parent | 80d5426c3a5ed621c650cd1928f1eb1cafdb1b7a (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.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 ``` |
