diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-05 11:24:27 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-05 17:28:36 +0200 |
commit | 4f60c5b43a7b33052e62caa78a7b705b3057028b (patch) | |
tree | 530efca372e1cb611b9fcd338b7437c128eedcd8 /CC/test/EXPRESSIONS | |
parent | 23e2b86ab2acb99b7625fa77c8fe9f81a1ec6099 (diff) | |
download | rules-cc-4f60c5b43a7b33052e62caa78a7b705b3057028b.tar.gz |
tests: support additional remote-execution properties for summaries
If a test is run several times (as set by RUNS_PER_TEST), a summary of
the individual test runs is computed using a summarizer as configured
in the target layer of the rules. As the inputs for computing that
test summary are all the individual test runs, that action has a
large number of files as input, including a large number of identical
files, e.g., the ones indicating the outcome of an individual run.
Therefore, allow setting additional remote-execution properties
allowing to dispatch that action to a suitable end point.
Diffstat (limited to 'CC/test/EXPRESSIONS')
-rw-r--r-- | CC/test/EXPRESSIONS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CC/test/EXPRESSIONS b/CC/test/EXPRESSIONS index 368d53e..b0a7f2b 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" @@ -280,6 +281,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" |