diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-06 22:19:18 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-07 13:36:51 +0300 |
commit | 8ea9bf7420a74e750f5ffbceb1b8667b097b3e96 (patch) | |
tree | 131403f2fb16119d43f8f16d5a4a31bb2ec7debe /tests | |
parent | 1b5f0457e8708a57bd081257c8a18a7ae02f6516 (diff) |
Add support for *-build-config override for bdep-ci command
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ci.testscript | 39 |
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 : { |