summaryrefslogtreecommitdiff
path: root/shell/test/RULES
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-11 14:49:53 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-11 15:46:55 +0200
commit23cf1c6532aaf60a258dd03884d0f215dbba4df7 (patch)
treeb3d8b06c305a47e33bb56238449c346e3864aa23 /shell/test/RULES
parent42d30432810b39f0e856f17c313fedc584cf22a2 (diff)
downloadrules-cc-23cf1c6532aaf60a258dd03884d0f215dbba4df7.tar.gz
["shell/test", "script"]: make TEST_RUN_NUMBER available
If RUNS_PER_TEST is given, inform each individual test action about the run number it is executing. This can be used, e.g., to set random seeds appropriately.
Diffstat (limited to 'shell/test/RULES')
-rw-r--r--shell/test/RULES6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/test/RULES b/shell/test/RULES
index 98bf27c..19f859f 100644
--- a/shell/test/RULES
+++ b/shell/test/RULES
@@ -12,6 +12,10 @@
, "TEST_TMPDIR. The test should not assume write permissions"
, "outside the working directory and the TEST_TMPDIR."
, "For convenience, the environment variable TMPDIR is also set to TEST_TMPDIR."
+ , ""
+ , "If the configuration variable RUNS_PER_TEST is set, the environment"
+ , "variable TEST_RUN_NUMBER will also be set to the number of the attempt,"
+ , "counting from 0."
]
, "name":
[ "A name for the test, used in reporting, as well as for staging"
@@ -32,7 +36,7 @@
[ "The number of times the test should be run in order to detect flakyness."
, "If set, no test action will be taken from cache."
]
- , "TEST_ENV": ["The environment for executing the test runner."]
+ , "TEST_ENV": ["Additional environment for executing the test runner."]
}
, "tainted": ["test"]
, "artifacts_doc":