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/EXPRESSIONS11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/end-to-end/EXPRESSIONS b/test/end-to-end/EXPRESSIONS
index 3c8a06c3..6eb3e96d 100644
--- a/test/end-to-end/EXPRESSIONS
+++ b/test/end-to-end/EXPRESSIONS
@@ -14,6 +14,7 @@
, "TEST_REMOTE_EXECUTION"
, "TIMEOUT_SCALE"
, "TEST_STANDALONE_SERVE"
+ , "USES_SERVE"
]
, "imports":
{ "artifacts_list": ["@", "rules", "", "field_artifacts_list"]
@@ -89,8 +90,13 @@
, { "type": "++"
, "$1":
[ { "type": "if"
- , "cond": {"type": "var", "name": "TEST_STANDALONE_SERVE"}
- , "then": ["serve"]
+ , "cond": {"type": "var", "name": "USES_SERVE"}
+ , "then":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "TEST_STANDALONE_SERVE"}
+ , "then": ["serve"]
+ , "else": ["remote", "serve"]
+ }
, "else": ["remote"]
}
, { "type": "foreach"
@@ -216,6 +222,7 @@
, "TEST_REMOTE_EXECUTION"
, "TIMEOUT_SCALE"
, "TEST_STANDALONE_SERVE"
+ , "USES_SERVE"
]
, "imports": {"action": "test-action"}
, "expression":