diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-05 17:34:56 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-05 17:34:56 +0200 |
commit | 9e0582bea2f6f4177a7a656dafd64607383618eb (patch) | |
tree | f60a1a4a783919ed2fdddbf89a8645eedc6e07b2 /rules/CC/test | |
parent | 17012ed56b6af89ff11c36479fedb3d99420fc4a (diff) | |
parent | 50cdd0a2340d5b2bf5bafd7465e0224d9e241229 (diff) | |
download | rules-cc-9e0582bea2f6f4177a7a656dafd64607383618eb.tar.gz |
Merge subtree 'rules' into rules-cc
Diffstat (limited to 'rules/CC/test')
-rw-r--r-- | rules/CC/test/EXPRESSIONS | 6 | ||||
-rw-r--r-- | rules/CC/test/RULES | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/rules/CC/test/EXPRESSIONS b/rules/CC/test/EXPRESSIONS index d80c0ae..a10fc2b 100644 --- a/rules/CC/test/EXPRESSIONS +++ b/rules/CC/test/EXPRESSIONS @@ -10,6 +10,7 @@ , "HOST_ARCH" , "TARGET_ARCH" , "ARCH_DISPATCH" + , "TEST_SUMMARY_EXECUTION_PROPERTIES" , "CC" , "CXX" , "CFLAGS" @@ -287,6 +288,11 @@ , "outs": ["stdout", "stderr", "result", "time-start", "time-stop"] , "cmd": ["./summarizer"] + , "execution properties": + { "type": "var" + , "name": "TEST_SUMMARY_EXECUTION_PROPERTIES" + , "default": {"type": "empty_map"} + } } ] , [ "artifacts" diff --git a/rules/CC/test/RULES b/rules/CC/test/RULES index b8c400c..1dac31b 100644 --- a/rules/CC/test/RULES +++ b/rules/CC/test/RULES @@ -30,6 +30,7 @@ , "CC_TEST_LAUNCHER" , "RUNS_PER_TEST" , "ARCH_DISPATCH" + , "TEST_SUMMARY_EXECUTION_PROPERTIES" ] , "implicit": { "defaults": [["./", "..", "defaults"]] @@ -142,6 +143,10 @@ , "the specified execution properties (i.e., on the target architecture);" , "all building will be done on the host architecture." ] + , "TEST_SUMMARY_EXECUTION_PROPERTIES": + [ "Additional remote-execution properties for the test-summarizing action" + , "in case RUNS_PER_TEST is set; defaults to the empty map." + ] } , "artifacts_doc": [ "result: the result of this test (\"PASS\" or \"FAIL\"); useful for" |