summaryrefslogtreecommitdiff
path: root/shell/test/RULES
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-05-30 17:17:59 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-05-31 14:14:25 +0200
commit970956cf14026dcc863befe38a9331a8065b91b3 (patch)
treea6228b0d2e22460584d4bc4837bf127ab37c94c6 /shell/test/RULES
parent7012b2864e7a27d532dbab5ef1627025d9fc94f6 (diff)
downloadrules-cc-970956cf14026dcc863befe38a9331a8065b91b3.tar.gz
["test/shell", "script"] Support long-running tests
Diffstat (limited to 'shell/test/RULES')
-rw-r--r--shell/test/RULES5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/test/RULES b/shell/test/RULES
index 98bf27c..d6baa9c 100644
--- a/shell/test/RULES
+++ b/shell/test/RULES
@@ -2,7 +2,8 @@
{ "doc": ["Shell test, given by a test script"]
, "target_fields": ["deps", "test"]
, "string_fields": ["keep", "name"]
- , "config_vars": ["ARCH", "HOST_ARCH", "RUNS_PER_TEST", "TEST_ENV"]
+ , "config_vars":
+ ["ARCH", "HOST_ARCH", "RUNS_PER_TEST", "TEST_ENV", "TIMEOUT_SCALE"]
, "field_doc":
{ "test":
[ "The shell script for the test, launched with sh."
@@ -33,6 +34,8 @@
, "If set, no test action will be taken from cache."
]
, "TEST_ENV": ["The environment for executing the test runner."]
+ , "TIMEOUT_SCALE":
+ ["Factor on how to scale the timeout for this test. Defaults to 1.0."]
}
, "tainted": ["test"]
, "artifacts_doc":