diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-05-20 12:23:18 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-05-20 14:12:42 +0200 |
commit | 70f0e4053b6f90945bb5ee04cfe24306776fe840 (patch) | |
tree | fe0af5650e38167ae4693bc70270a1152eeca38f /test/end-to-end/serve-service | |
parent | ddb2b71655e8b96598ddad23ab982e20c93bcc13 (diff) | |
download | justbuild-70f0e4053b6f90945bb5ee04cfe24306776fe840.tar.gz |
end-to-end tests: use ["test", "matrix"]
... instead of manually configuring and staging the various test branches.
Diffstat (limited to 'test/end-to-end/serve-service')
-rw-r--r-- | test/end-to-end/serve-service/TARGETS | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/test/end-to-end/serve-service/TARGETS b/test/end-to-end/serve-service/TARGETS index f91cbd8e..8a98ebd1 100644 --- a/test/end-to-end/serve-service/TARGETS +++ b/test/end-to-end/serve-service/TARGETS @@ -172,15 +172,9 @@ , "repos": ["serve-many-targets (data)"] } , "TESTS (unconfigured)": - { "type": ["@", "rules", "test", "suite"] + { "type": ["@", "rules", "test", "matrix"] , "arguments_config": ["TEST_STANDALONE_SERVE"] - , "stage": - [ { "type": "if" - , "cond": {"type": "var", "name": "TEST_STANDALONE_SERVE"} - , "then": "standalone-serve" - , "else": "separate-remote" - } - ] + , "stage": ["serve-service"] , "deps": { "type": "++" , "$1": @@ -207,23 +201,18 @@ ] } } -, "TESTS (separate remote)": - { "type": "configure" - , "tainted": ["test"] - , "target": "TESTS (unconfigured)" - , "config": - {"type": "singleton_map", "key": "TEST_STANDALONE_SERVE", "value": false} - } -, "TESTS (standalone serve)": +, "TESTS": { "type": "configure" , "tainted": ["test"] , "target": "TESTS (unconfigured)" , "config": - {"type": "singleton_map", "key": "TEST_STANDALONE_SERVE", "value": true} - } -, "TESTS": - { "type": ["@", "rules", "test", "suite"] - , "stage": ["serve-service"] - , "deps": ["TESTS (separate remote)", "TESTS (standalone serve)"] + { "type": "'" + , "$1": + { "TEST_MATRIX": + { "TEST_STANDALONE_SERVE": + {"standalone-serve": true, "separate-remote": false} + } + } + } } } |