From 04486312bdba9b610edbd71d23b5f4a428e04a40 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 15 Nov 2023 15:37:10 +0100 Subject: test: Check that serve service works in compatible mode Added compatibility envariable to the with_serve rule, guarded tests using --fetch-absent such that they run only in native mode, and made all serve-service tests aware of the compatibility flag. --- test/end-to-end/RULES | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'test/end-to-end/RULES') diff --git a/test/end-to-end/RULES b/test/end-to-end/RULES index a1954ac4..84e771f5 100644 --- a/test/end-to-end/RULES +++ b/test/end-to-end/RULES @@ -216,7 +216,13 @@ ] , "target_fields": ["deps", "test", "repos"] , "string_fields": ["keep", "name"] - , "config_vars": ["ARCH", "HOST_ARCH", "RUNS_PER_TEST", "TEST_ENV"] + , "config_vars": + [ "ARCH" + , "HOST_ARCH" + , "RUNS_PER_TEST" + , "TEST_ENV" + , "TEST_COMPATIBLE_REMOTE" + ] , "field_doc": { "test": [ "The shell script for the test, launched with sh." @@ -254,6 +260,8 @@ , "If set, no test action will be taken from cache." ] , "TEST_ENV": ["The environment for executing the test runner."] + , "TEST_COMPATIBLE_REMOTE": + ["If true, run the remote execution in compatible mode."] } , "tainted": ["test"] , "artifacts_doc": -- cgit v1.2.3