summaryrefslogtreecommitdiff
path: root/test/end-to-end/EXPRESSIONS
diff options
context:
space:
mode:
Diffstat (limited to 'test/end-to-end/EXPRESSIONS')
-rw-r--r--test/end-to-end/EXPRESSIONS22
1 files changed, 18 insertions, 4 deletions
diff --git a/test/end-to-end/EXPRESSIONS b/test/end-to-end/EXPRESSIONS
index 12f0772d..3c8a06c3 100644
--- a/test/end-to-end/EXPRESSIONS
+++ b/test/end-to-end/EXPRESSIONS
@@ -8,6 +8,7 @@
, "data"
, "extra_infra"
, "keep"
+ , "keep-dirs"
, "transition"
, "TEST_COMPATIBLE_REMOTE"
, "TEST_REMOTE_EXECUTION"
@@ -85,10 +86,22 @@
}
]
, [ "out_dirs"
- , { "type": "if"
- , "cond": {"type": "var", "name": "TEST_STANDALONE_SERVE"}
- , "then": ["serve"]
- , "else": ["remote"]
+ , { "type": "++"
+ , "$1":
+ [ { "type": "if"
+ , "cond": {"type": "var", "name": "TEST_STANDALONE_SERVE"}
+ , "then": ["serve"]
+ , "else": ["remote"]
+ }
+ , { "type": "foreach"
+ , "var": "dir_path"
+ , "range": {"type": "var", "name": "keep-dirs"}
+ , "body":
+ { "type": "join"
+ , "$1": ["work/", {"type": "var", "name": "dir_path"}]
+ }
+ }
+ ]
}
]
, [ "inputs"
@@ -197,6 +210,7 @@
, "data"
, "extra_infra"
, "keep"
+ , "keep-dirs"
, "transition"
, "TEST_COMPATIBLE_REMOTE"
, "TEST_REMOTE_EXECUTION"