diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-07 22:36:01 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-08 16:23:51 +0300 |
commit | 9b6086440aa261fc376c8293df2345050658dd2b (patch) | |
tree | 8f632c035566a469c9eca32b34659bc48ef6a4b2 /tests/pkg-build.testscript | |
parent | aa2df902257cb939a36a515e34b0559cd3c24462 (diff) |
Allow building build module in multiple configurations if they belong to different configuration clusters
Diffstat (limited to 'tests/pkg-build.testscript')
-rw-r--r-- | tests/pkg-build.testscript | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript index 4da7747..48fea7b 100644 --- a/tests/pkg-build.testscript +++ b/tests/pkg-build.testscript @@ -6465,6 +6465,27 @@ else libbaz configured 1.0.0 EOO } + + : build2-module-different-clusters + : + : Test that the same module can successfully be built in 2 configurations + : if they belong to different linked configuration clusters. + : + { + $cfg_create -d cfg --uuid $cfg_uuid &cfg/***; + $cfg_create -d cfg2 --uuid $cfg2_uuid &cfg2/***; + + test.arguments += -d cfg2; # Now refers 2 current dirs: cfg/ and cfg2/. + + $* "libbiz@$rep/t7a" +{ --config-uuid $cfg_uuid } \ + "libbuz@$rep/t7a" +{ --config-uuid $cfg2_uuid } --yes --trust-yes 2>>~%EOE% + %(added|fetching) .+%{4} + %(fetched|unpacked) .+%{26} + %configured .+%{13} + %info: .+ is up to date%{2} + %updated .+%{2} + EOE + } } : system |