summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rwxr-xr-xrun-tests2
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1ae6676..ddb33f0 100644
--- a/README.md
+++ b/README.md
@@ -94,7 +94,9 @@ the local build root.
The just described way of working in a `nix-shell` using the
alias is useful for interactive development. For CI-like usage,
the script [run-tests](./run-tests) can be used that simply runs
-`withRc-just-mr` in a `nix-shell`.
+`withRc-just-mr` in a `nix-shell`. Arguments are forwarded to the
+build command so that you can run, e.g., `./run-tests hello hello`
+or `./run-tests -D '{"RUNS_PER_TEST": 3}'`.
## Shell commands
diff --git a/run-tests b/run-tests
index c3d4938..659e4a2 100755
--- a/run-tests
+++ b/run-tests
@@ -1 +1 @@
-nix-shell --run "withRc-just-mr --main test build"
+nix-shell --run "withRc-just-mr --main test build ${*@Q}"