diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-08 16:53:58 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-08 16:53:58 +0200 |
commit | 8d715c335756e406aea8a7e3e9e2266f69fbdeb9 (patch) | |
tree | c89fc6df4d303e006c33255af7c9cb1029eb9398 /rules/CC/test/EXPRESSIONS | |
parent | 5cfe9e48255086a953426b599c5bca4e0f33b589 (diff) | |
parent | 5fdfa0f8b7c8c5df54d5ad6ce9e0cc89193cd1bd (diff) | |
download | rules-cc-8d715c335756e406aea8a7e3e9e2266f69fbdeb9.tar.gz |
Merge subtree 'rules' into rules-cc
Diffstat (limited to 'rules/CC/test/EXPRESSIONS')
-rw-r--r-- | rules/CC/test/EXPRESSIONS | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rules/CC/test/EXPRESSIONS b/rules/CC/test/EXPRESSIONS index a10fc2b..fe4918e 100644 --- a/rules/CC/test/EXPRESSIONS +++ b/rules/CC/test/EXPRESSIONS @@ -54,6 +54,7 @@ , "host transition": ["transitions", "for host"] , "target properties": ["transitions", "target properties"] , "stage": ["./", "../..", "stage_singleton_field"] + , "list_provider": ["./", "../..", "field_list_provider"] } , "expression": { "type": "let*" @@ -276,6 +277,17 @@ } } ] + , [ "summary PATH" + , { "type": "join" + , "separator": ":" + , "$1": + { "type": "let*" + , "bindings": + [["fieldname", "shell-defaults"], ["provider", "PATH"]] + , "body": {"type": "CALL_EXPRESSION", "name": "list_provider"} + } + } + ] , [ "summary" , { "type": "ACTION" , "inputs": @@ -293,6 +305,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" |