diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-05-30 17:17:59 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-05-31 14:14:25 +0200 |
commit | 970956cf14026dcc863befe38a9331a8065b91b3 (patch) | |
tree | a6228b0d2e22460584d4bc4837bf127ab37c94c6 /shell/test/EXPRESSIONS | |
parent | 7012b2864e7a27d532dbab5ef1627025d9fc94f6 (diff) | |
download | rules-cc-970956cf14026dcc863befe38a9331a8065b91b3.tar.gz |
["test/shell", "script"] Support long-running tests
Diffstat (limited to 'shell/test/EXPRESSIONS')
-rw-r--r-- | shell/test/EXPRESSIONS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/test/EXPRESSIONS b/shell/test/EXPRESSIONS index d9b1fbc..3ab3605 100644 --- a/shell/test/EXPRESSIONS +++ b/shell/test/EXPRESSIONS @@ -1,6 +1,7 @@ { "test-action": { "vars": [ "TEST_ENV" + , "TIMEOUT_SCALE" , "ATTEMPT" , "name" , "test.sh" @@ -132,6 +133,8 @@ { "type": "join" , "$1": ["shell test ", {"type": "var", "name": "name"}, " failed"] } + , "timeout scaling": + {"type": "var", "name": "TIMEOUT_SCALE", "default": 1.0} } , "else": { "type": "ACTION" @@ -151,6 +154,8 @@ , ")" ] } + , "timeout scaling": + {"type": "var", "name": "TIMEOUT_SCALE", "default": 1.0} } } } @@ -158,6 +163,7 @@ , "test-result": { "vars": [ "TEST_ENV" + , "TIMEOUT_SCALE" , "name" , "test.sh" , "keep" |