diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-12-01 16:16:17 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-12-01 18:21:38 +0300 |
commit | dfb2b32071be8003c9048128cc8cf52bf2137d30 (patch) | |
tree | 7a1d0f21c34b631956e627f3e38ac90d74cbb084 /tests | |
parent | 4f31188d4a7ce3cd9b657cc58e06632b9ccd7d8f (diff) |
Improve pkg-build diagnostics issued when unable to satisfy dependency constraint
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pkg-build.testscript | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript index 48fea7b..058a08b 100644 --- a/tests/pkg-build.testscript +++ b/tests/pkg-build.testscript @@ -431,7 +431,7 @@ test.options += --no-progress : $clone_root_cfg; $* $src/libbar-1.0.0.tar.gz 2>>EOE != 0 - error: unknown dependency libfoo of package libbar + error: no package available for dependency libfoo of package libbar info: while satisfying libbar/1.0.0 EOE @@ -443,7 +443,7 @@ test.options += --no-progress $cfg_create -d cfg2 &cfg2/***; $cfg_link -d cfg cfg2; $* $src/libbar-1.0.0.tar.gz +{ --config-id 1 } 2>>~%EOE% != 0 - %error: unknown dependency libfoo of package libbar \[cfg2.\]% + %error: no package available for dependency libfoo of package libbar \[cfg2.\]% %info: while satisfying libbar/1.0.0 \[cfg2.\]% EOE @@ -1633,7 +1633,7 @@ test.options += --no-progress $rep_fetch; $* libfoo 2>>~%EOE% != 0; - error: unknown dependency libhello >= 1.0 of package libfoo + error: no package available for dependency libhello of package libfoo %.+ EOE @@ -2052,7 +2052,8 @@ test.options += --no-progress $rep_fetch $rep/t0a $rep/t0c; $* libbar/1.0.0 ?libfoo/0.0.1 2>>EOE != 0 - error: unknown dependency libfoo == 0.0.1 of package libbar + error: unable to satisfy dependency constraint (libfoo == 0.0.1) of package libbar + info: available libfoo versions: 1.0.0 info: while satisfying libbar/1.0.0 EOE } |