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 | 50cdd0a2340d5b2bf5bafd7465e0224d9e241229 (patch) | |
tree | c620a4c9d517faa48709c3e7f553dfc9f55d0cc6 | |
parent | 0d6b2a6b9fe34d3bc4becbd7b2e47ba4078c0a06 (diff) | |
parent | 4f60c5b43a7b33052e62caa78a7b705b3057028b (diff) | |
download | rules-cc-50cdd0a2340d5b2bf5bafd7465e0224d9e241229.tar.gz |
Merge branch 'just-rules' into rules
-rw-r--r-- | CC/test/EXPRESSIONS | 6 | ||||
-rw-r--r-- | CC/test/RULES | 5 | ||||
-rw-r--r-- | shell/test/RULES | 10 |
3 files changed, 21 insertions, 0 deletions
diff --git a/CC/test/EXPRESSIONS b/CC/test/EXPRESSIONS index d80c0ae..a10fc2b 100644 --- a/CC/test/EXPRESSIONS +++ b/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/CC/test/RULES b/CC/test/RULES index b8c400c..1dac31b 100644 --- a/CC/test/RULES +++ b/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" diff --git a/shell/test/RULES b/shell/test/RULES index 7a7aebd..4b72d10 100644 --- a/shell/test/RULES +++ b/shell/test/RULES @@ -10,6 +10,7 @@ , "TIMEOUT_SCALE" , "TARGET_ARCH" , "ARCH_DISPATCH" + , "TEST_SUMMARY_EXECUTION_PROPERTIES" ] , "field_doc": { "test": @@ -82,6 +83,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." + ] } , "tainted": ["test"] , "artifacts_doc": @@ -216,6 +221,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" |