From f2f999774832081afc225e4fa6483566d721ff0d Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 9 Jul 2024 10:32:09 +0200 Subject: Test rules with infrastructure: also honor TEST_SUMMARY_EXECUTION_PROPERTIES Also for tests that provide infrastructure, it can be desirable to run those tests a large number of times. Therefore, support additional remote-execution properties for the summary action so that a suitable remote-execution endpoint can be chosen. --- test/end-to-end/RULES | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'test/end-to-end/RULES') diff --git a/test/end-to-end/RULES b/test/end-to-end/RULES index 32b373c9..6d0e11cc 100644 --- a/test/end-to-end/RULES +++ b/test/end-to-end/RULES @@ -13,6 +13,7 @@ , "TEST_COMPATIBLE_REMOTE" , "TEST_REMOTE_EXECUTION" , "TIMEOUT_SCALE" + , "TEST_SUMMARY_EXECUTION_PROPERTIES" ] , "field_doc": { "test": @@ -63,6 +64,10 @@ ] , "TIMEOUT_SCALE": ["Factor on how to scale the timeout for this test. Defaults to 1.0."] + , "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": @@ -190,6 +195,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" @@ -237,6 +247,7 @@ , "TEST_COMPATIBLE_REMOTE" , "TEST_STANDALONE_SERVE" , "TIMEOUT_SCALE" + , "TEST_SUMMARY_EXECUTION_PROPERTIES" ] , "field_doc": { "test": @@ -300,6 +311,10 @@ ["If true, run the remote execution in compatible mode."] , "TIMEOUT_SCALE": ["Factor on how to scale the timeout for this test. Defaults to 1.0."] + , "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": @@ -458,6 +473,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