From 4f60c5b43a7b33052e62caa78a7b705b3057028b Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 5 Jul 2024 11:24:27 +0200 Subject: 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. --- shell/test/RULES | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'shell') diff --git a/shell/test/RULES b/shell/test/RULES index 6539622..af18828 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": @@ -78,6 +79,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": @@ -212,6 +217,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" -- cgit v1.2.3