diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-29 11:09:53 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-29 12:13:58 +0200 |
commit | 037cc9ef248b1a001683591809c75476784d1bdd (patch) | |
tree | 9899600e95cbc7af5f64a407f064a8795db9e156 /CC/test/EXPRESSIONS | |
parent | df57e7ac05e218a910ce56a1a2bff16ccdaaba20 (diff) | |
download | rules-cc-037cc9ef248b1a001683591809c75476784d1bdd.tar.gz |
["CC/test", "test"]: support TIMEOUT_SCALE
... to allow test actions to have a larger time out, while not
changing anything in the build actions (and hence being able to
use cache hits from normal build of the library being tested).
Diffstat (limited to 'CC/test/EXPRESSIONS')
-rw-r--r-- | CC/test/EXPRESSIONS | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CC/test/EXPRESSIONS b/CC/test/EXPRESSIONS index 4207f8e..368d53e 100644 --- a/CC/test/EXPRESSIONS +++ b/CC/test/EXPRESSIONS @@ -18,6 +18,7 @@ , "ADD_CXXFLAGS" , "ENV" , "TEST_ENV" + , "TIMEOUT_SCALE" , "CC_TEST_LAUNCHER" , "RUNS_PER_TEST" , "name" @@ -177,6 +178,8 @@ , "$1": ["CC test ", {"type": "var", "name": "test-name"}, " failed"] } + , "timeout scaling": + {"type": "var", "name": "TIMEOUT_SCALE", "default": 1.0} , "execution properties": {"type": "var", "name": "target properties"} } @@ -252,6 +255,11 @@ , ")" ] } + , "timeout scaling": + { "type": "var" + , "name": "TIMEOUT_SCALE" + , "default": 1.0 + } , "execution properties": {"type": "var", "name": "target properties"} } |