summaryrefslogtreecommitdiff
path: root/shell/test/RULES
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-06-07 12:37:22 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-06-07 12:37:22 +0200
commit816db9ca82bbcc5c953a5f6449d6768941749888 (patch)
tree3a0058d9273246f127de386dd3a108a54253d70c /shell/test/RULES
parentb9d0a59e7832f87431efb377e760773a075a4bfd (diff)
downloadrules-cc-816db9ca82bbcc5c953a5f6449d6768941749888.tar.gz
rules: Support TEST_ENV for shell/test script
Diffstat (limited to 'shell/test/RULES')
-rw-r--r--shell/test/RULES3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/test/RULES b/shell/test/RULES
index 74a0b78..c4beec4 100644
--- a/shell/test/RULES
+++ b/shell/test/RULES
@@ -2,7 +2,7 @@
{ "doc": ["Shell test, given by a test script"]
, "target_fields": ["deps", "test"]
, "string_fields": ["keep", "name"]
- , "config_vars": ["RUNS_PER_TEST"]
+ , "config_vars": ["RUNS_PER_TEST", "TEST_ENV"]
, "field_doc":
{ "test": ["The shell script for the test, launched with sh"]
, "name":
@@ -24,6 +24,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."]
}
, "tainted": ["test"]
, "artifacts_doc":