aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-03-08 18:54:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-03-12 15:43:23 +0300
commit9f93b7a33f484b4ccdec2a47748f27338c99afbe (patch)
tree4db8182a1ad71c6b3cc0a4b80463e30016801624 /tests
parentdefc334c57dee0c20425d3858a95a33bd314bccc (diff)
Add support for build-auxiliary manifest value overrides in bdep-ci
Diffstat (limited to 'tests')
-rw-r--r--tests/ci.testscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ci.testscript b/tests/ci.testscript
index 9b365d3..abe6021 100644
--- a/tests/ci.testscript
+++ b/tests/ci.testscript
@@ -32,6 +32,7 @@ end
EOI
+cat <<EOI >+prj/manifest
+ build-auxiliary: *-postgresql_*
network-build-config: config.prj.network=true
EOI
@@ -278,6 +279,22 @@ windows = ($cxx.target.class == 'windows')
EOE
}
+ : build-auxiliary
+ :
+ {
+ $clone_prj;
+
+ $* --override 'build-auxiliary: *-postgresql_16' 2>>~%EOE%;
+ %CI request is queued.*%
+ %reference: .+%
+ EOE
+
+ $* --override 'build-auxiliary-pgsql: *-postgresql_16' 2>>EOE != 0
+ error: invalid --override option value: no match for 'build-auxiliary-pgsql' value override
+ info: override: build-auxiliary-pgsql: *-postgresql_16
+ EOE
+ }
+
: invalid-option
:
{