summaryrefslogtreecommitdiff
path: root/test/end-to-end/just-mr
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-11-15 15:37:10 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-11-16 15:19:07 +0100
commit04486312bdba9b610edbd71d23b5f4a428e04a40 (patch)
tree45b71484b077f9c9aad7a83901061bf664225265 /test/end-to-end/just-mr
parent4a7517b4c638118abcff6bc406171bf9566be2fc (diff)
downloadjustbuild-04486312bdba9b610edbd71d23b5f4a428e04a40.tar.gz
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.
Diffstat (limited to 'test/end-to-end/just-mr')
-rw-r--r--test/end-to-end/just-mr/TARGETS12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/end-to-end/just-mr/TARGETS b/test/end-to-end/just-mr/TARGETS
index 99d2d7b8..04c19f21 100644
--- a/test/end-to-end/just-mr/TARGETS
+++ b/test/end-to-end/just-mr/TARGETS
@@ -174,15 +174,17 @@
, "git-tree-env"
, "defaults"
, "absent-roots"
- , "fetch-absent"
- , "absent-config"
- , "fetch-absent-archives"
- , "fetch-absent-archives-symlinks"
]
, { "type": "if"
, "cond": {"type": "var", "name": "TEST_COMPATIBLE_REMOTE"}
, "then": []
- , "else": ["fetch-remote"]
+ , "else":
+ [ "fetch-remote"
+ , "fetch-absent"
+ , "absent-config"
+ , "fetch-absent-archives"
+ , "fetch-absent-archives-symlinks"
+ ]
}
]
}