diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-09 10:32:09 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-09 11:01:13 +0200 |
commit | f2f999774832081afc225e4fa6483566d721ff0d (patch) | |
tree | 92fa8f236f8e00959f92b7f2e883d2b01ce594a9 /test/end-to-end/RULES | |
parent | 6c9cf1f6a1e457ca94b740d1b9e8f2e35a0623a3 (diff) | |
download | justbuild-f2f999774832081afc225e4fa6483566d721ff0d.tar.gz |
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.
Diffstat (limited to 'test/end-to-end/RULES')
-rw-r--r-- | test/end-to-end/RULES | 20 |
1 files changed, 20 insertions, 0 deletions
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" |