From 970956cf14026dcc863befe38a9331a8065b91b3 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 30 May 2023 17:17:59 +0200 Subject: ["test/shell", "script"] Support long-running tests --- shell/test/EXPRESSIONS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shell/test/EXPRESSIONS') 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" -- cgit v1.2.3