summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-29 12:17:34 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-29 12:17:34 +0200
commitd2eba09a53ab41303c05713ab1a9c94564a2274f (patch)
treee00828a0323705bb7c7efb4bf1a44dee501f333f /rules
parent7f1e6af152c4d88751a3d0bab7924f8cdbe42cd0 (diff)
parentcb9bad3e417b379bde6761a82ba472296232fc7a (diff)
downloadrules-cc-d2eba09a53ab41303c05713ab1a9c94564a2274f.tar.gz
Merge subtree 'rules' into rules-cc
Diffstat (limited to 'rules')
-rw-r--r--rules/CC/test/EXPRESSIONS8
-rw-r--r--rules/CC/test/RULES3
2 files changed, 11 insertions, 0 deletions
diff --git a/rules/CC/test/EXPRESSIONS b/rules/CC/test/EXPRESSIONS
index 0c6d797..d80c0ae 100644
--- a/rules/CC/test/EXPRESSIONS
+++ b/rules/CC/test/EXPRESSIONS
@@ -18,6 +18,7 @@
, "ADD_CXXFLAGS"
, "ENV"
, "TEST_ENV"
+ , "TIMEOUT_SCALE"
, "CC_TEST_LAUNCHER"
, "RUNS_PER_TEST"
, "name"
@@ -184,6 +185,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"}
}
@@ -259,6 +262,11 @@
, ")"
]
}
+ , "timeout scaling":
+ { "type": "var"
+ , "name": "TIMEOUT_SCALE"
+ , "default": 1.0
+ }
, "execution properties":
{"type": "var", "name": "target properties"}
}
diff --git a/rules/CC/test/RULES b/rules/CC/test/RULES
index 601807a..c0e8729 100644
--- a/rules/CC/test/RULES
+++ b/rules/CC/test/RULES
@@ -26,6 +26,7 @@
, "ENV"
, "BUILD_POSITION_INDEPENDENT"
, "TEST_ENV"
+ , "TIMEOUT_SCALE"
, "CC_TEST_LAUNCHER"
, "RUNS_PER_TEST"
, "ARCH_DISPATCH"
@@ -115,6 +116,8 @@
, "ENV": ["The environment for any action generated."]
, "BUILD_POSITION_INDEPENDENT": ["Build with -fPIC."]
, "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."]
, "CC_TEST_LAUNCHER":
[ "List of strings representing the launcher that is prepend to the"
, "command line for running the test binary."