summaryrefslogtreecommitdiff
path: root/rules/CC/test/EXPRESSIONS
diff options
context:
space:
mode:
Diffstat (limited to 'rules/CC/test/EXPRESSIONS')
-rw-r--r--rules/CC/test/EXPRESSIONS22
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"