summaryrefslogtreecommitdiff
path: root/rules/shell/test/EXPRESSIONS
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-05-31 14:34:28 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-05-31 14:34:28 +0200
commit109e84eaf3375e64671aab00d4b7c5ce059c8620 (patch)
treeb217e124431a5712eb160de9ca4fd9448538bf55 /rules/shell/test/EXPRESSIONS
parenta7404b28cc40881377c7d681cfdb322daf2ba366 (diff)
parent970956cf14026dcc863befe38a9331a8065b91b3 (diff)
downloadrules-cc-109e84eaf3375e64671aab00d4b7c5ce059c8620.tar.gz
Merge commit '970956cf14026dcc863befe38a9331a8065b91b3' into HEAD
Diffstat (limited to 'rules/shell/test/EXPRESSIONS')
-rw-r--r--rules/shell/test/EXPRESSIONS6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/shell/test/EXPRESSIONS b/rules/shell/test/EXPRESSIONS
index ea36b32..a1e3137 100644
--- a/rules/shell/test/EXPRESSIONS
+++ b/rules/shell/test/EXPRESSIONS
@@ -1,6 +1,7 @@
{ "test-action":
{ "vars":
[ "TEST_ENV"
+ , "TIMEOUT_SCALE"
, "ATTEMPT"
, "name"
, "test.sh"
@@ -170,6 +171,8 @@
{ "type": "join"
, "$1": ["shell test ", {"type": "var", "name": "name"}, " failed"]
}
+ , "timeout scaling":
+ {"type": "var", "name": "TIMEOUT_SCALE", "default": 1.0}
}
, "else":
{ "type": "ACTION"
@@ -189,6 +192,8 @@
, ")"
]
}
+ , "timeout scaling":
+ {"type": "var", "name": "TIMEOUT_SCALE", "default": 1.0}
}
}
}
@@ -196,6 +201,7 @@
, "test-result":
{ "vars":
[ "TEST_ENV"
+ , "TIMEOUT_SCALE"
, "name"
, "test.sh"
, "keep"