summaryrefslogtreecommitdiff
path: root/shell/test/EXPRESSIONS
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-06 16:51:56 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-12-09 13:13:21 +0100
commit9d5af26d047744cba54d6597ad59d23aca4e1369 (patch)
tree9c738cc9a3fdfda2ab8d43c86a016a358f8fcff9 /shell/test/EXPRESSIONS
parent164bc8a638e50a69466dae5f1b0e0355daa5f20c (diff)
downloadrules-cc-9d5af26d047744cba54d6597ad59d23aca4e1369.tar.gz
rules: Add cross-compile support for tests
Diffstat (limited to 'shell/test/EXPRESSIONS')
-rw-r--r--shell/test/EXPRESSIONS15
1 files changed, 13 insertions, 2 deletions
diff --git a/shell/test/EXPRESSIONS b/shell/test/EXPRESSIONS
index 444de92..d9b1fbc 100644
--- a/shell/test/EXPRESSIONS
+++ b/shell/test/EXPRESSIONS
@@ -7,6 +7,7 @@
, "keep"
, "runner"
, "deps-fieldname"
+ , "deps-transition"
]
, "imports":
{ "artifacts_list": ["./", "../..", "field_artifacts_list"]
@@ -53,7 +54,9 @@
, "$1":
{ "type": "let*"
, "bindings":
- [["fieldname", {"type": "var", "name": "deps-fieldname"}]]
+ [ ["fieldname", {"type": "var", "name": "deps-fieldname"}]
+ , ["transition", {"type": "var", "name": "deps-transition"}]
+ ]
, "body":
[ {"type": "CALL_EXPRESSION", "name": "runfiles_list"}
, {"type": "CALL_EXPRESSION", "name": "artifacts_list"}
@@ -153,7 +156,15 @@
}
}
, "test-result":
- { "vars": ["TEST_ENV", "name", "test.sh", "keep", "runner", "deps-fieldname"]
+ { "vars":
+ [ "TEST_ENV"
+ , "name"
+ , "test.sh"
+ , "keep"
+ , "runner"
+ , "deps-fieldname"
+ , "deps-transition"
+ ]
, "imports": {"action": "test-action"}
, "expression":
{ "type": "let*"