aboutsummaryrefslogtreecommitdiff
path: root/tests/ci.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ci.testscript')
-rw-r--r--tests/ci.testscript39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/ci.testscript b/tests/ci.testscript
index 7cb6245..cff198b 100644
--- a/tests/ci.testscript
+++ b/tests/ci.testscript
@@ -28,6 +28,7 @@ end
+cat <<EOI >+prj/build/root.build
config [bool] config.prj.network ?= false
+ config [bool] config.prj.cache ?= false
EOI
+cat <<EOI >+prj/manifest
@@ -187,6 +188,44 @@ windows = ($cxx.target.class == 'windows')
EOE
}
+ : build-configs
+ :
+ {
+ $clone_prj;
+
+ $* --override 'mytest-build-config: config.prj.network=true config.prj.cache=true' \
+ --override 'default-build-config: config.prj.network=true' 2>>~%EOE%
+ %CI request is queued.*%
+ %reference: .+%
+ EOE
+ }
+
+ : build-configs-constraints
+ :
+ {
+ $clone_prj;
+
+ $* --override 'mytest-build-config: config.prj.network=true config.prj.cache=true' \
+ --build-config 'mytest/linux*-gcc*' \
+ --override 'default-build-config: config.prj.network=true' \
+ --build-config 'default/macos*-gcc*' 2>>~%EOE%
+ %CI request is queued.*%
+ %reference: .+%
+ EOE
+ }
+
+ : build-configs-package-config
+ :
+ {
+ $clone_prj;
+
+ $* --override 'mytest-build-config: config.prj.network=true config.prj.cache=true' \
+ --package-config 'mytest' 2>>~%EOE%
+ %CI request is queued.*%
+ %reference: .+%
+ EOE
+ }
+
: common-package-build-constraints
:
{