summaryrefslogtreecommitdiff
path: root/rules/shell/test/RULES
diff options
context:
space:
mode:
Diffstat (limited to 'rules/shell/test/RULES')
-rw-r--r--rules/shell/test/RULES17
1 files changed, 17 insertions, 0 deletions
diff --git a/rules/shell/test/RULES b/rules/shell/test/RULES
index 4b72d10..91b7637 100644
--- a/rules/shell/test/RULES
+++ b/rules/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"