From 9d5af26d047744cba54d6597ad59d23aca4e1369 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 6 Dec 2022 16:51:56 +0100 Subject: rules: Add cross-compile support for tests --- shell/test/RULES | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shell/test/RULES') diff --git a/shell/test/RULES b/shell/test/RULES index 990e8d9..92c0ccc 100644 --- a/shell/test/RULES +++ b/shell/test/RULES @@ -55,7 +55,10 @@ { "test-result": "test-result" , "action": "test-action" , "stage": ["./", "../..", "stage_singleton_field"] + , "host transition": ["transitions", "for host"] } + , "config_transitions": + {"deps": [{"type": "CALL_EXPRESSION", "name": "host transition"}]} , "expression": { "type": "let*" , "bindings": @@ -78,6 +81,9 @@ , ["keep", {"type": "FIELD", "name": "keep"}] , ["runner", {"type": "FIELD", "name": "runner"}] , ["deps-fieldname", "deps"] + , [ "deps-transition" + , {"type": "CALL_EXPRESSION", "name": "host transition"} + ] ] , "body": { "type": "if" -- cgit v1.2.3