diff options
author | Klaus T. Aehlig <aehlig@linta.de> | 2024-07-08 15:29:03 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-08 16:47:04 +0200 |
commit | 85597d2c8d0069c84f982bc16b81e1d612cbb07c (patch) | |
tree | 1ae320887d78a511dca550b906f5fee5ec7bf93c /shell | |
parent | ecc2976f4bd1c1e880ae72ed6e4f3c33efe21069 (diff) | |
download | rules-cc-85597d2c8d0069c84f982bc16b81e1d612cbb07c.tar.gz |
honor toolchain also in summary action
Diffstat (limited to 'shell')
-rw-r--r-- | shell/test/RULES | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/shell/test/RULES b/shell/test/RULES index 4b72d10..91b7637 100644 --- a/shell/test/RULES +++ b/shell/test/RULES @@ -114,6 +114,7 @@ , "stage": ["./", "../..", "stage_singleton_field"] , "host transition": ["transitions", "maybe for host"] , "target properties": ["transitions", "target properties"] + , "default-PATH": ["./", "../../CC", "default-PATH"] } , "config_transitions": { "deps": [{"type": "CALL_EXPRESSION", "name": "host transition"}] @@ -209,6 +210,12 @@ } } ] + , [ "summary PATH" + , { "type": "join" + , "separator": ":" + , "$1": {"type": "CALL_EXPRESSION", "name": "default-PATH"} + } + ] , [ "summary" , { "type": "ACTION" , "inputs": @@ -226,6 +233,16 @@ , "name": "TEST_SUMMARY_EXECUTION_PROPERTIES" , "default": {"type": "empty_map"} } + , "env": + { "type": "if" + , "cond": {"type": "var", "name": "summary PATH"} + , "then": + { "type": "singleton_map" + , "key": "PATH" + , "value": {"type": "var", "name": "summary PATH"} + } + , "else": {"type": "empty_map"} + } } ] , [ "artifacts" |