aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-build.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-10-17 14:34:51 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-10-17 15:24:29 +0300
commit5b5b63886b0555c9697061601f865dfbced4764f (patch)
treec516f1c0ecab93a727e6a6b1ce97612284b97703 /tests/pkg-build.testscript
parent5e77b34314563a1943d3fa0e9706a2c4658168ed (diff)
Print version constraints recursively in 'unable to satisfy constraints' diagnostics
Diffstat (limited to 'tests/pkg-build.testscript')
-rw-r--r--tests/pkg-build.testscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript
index 9be2ad7..600f0a8 100644
--- a/tests/pkg-build.testscript
+++ b/tests/pkg-build.testscript
@@ -2679,6 +2679,7 @@ test.arguments += --sys-no-query
$* libbar/0.0.1 ?libbaz/0.0.2 2>>EOE != 0;
error: unable to satisfy constraints on package libbaz
info: libbar depends on (libbaz == 0.0.1)
+ command line requires (libbar == 0.0.1)
info: command line depends on (libbaz == 0.0.2)
info: specify libbaz version to satisfy libbar constraint
info: while satisfying libbar/0.0.1
@@ -2687,6 +2688,7 @@ test.arguments += --sys-no-query
$* -- libbar/0.0.1 '?libbaz>=0.0.2' 2>>EOE != 0
error: unable to satisfy constraints on package libbaz
info: libbar depends on (libbaz == 0.0.1)
+ command line requires (libbar == 0.0.1)
info: command line depends on (libbaz >= 0.0.2)
info: specify libbaz version to satisfy libbar constraint
info: while satisfying libbar/0.0.1
@@ -27524,6 +27526,7 @@ else
error: unable to satisfy constraints on package libfoo
info: command line depends on (libfoo == 1.0.0)
info: libbar depends on (libfoo == 1.1.0)
+ command line requires (libbar == 1.1.0)
info: available libfoo/1.0.0
info: available libfoo/1.1.0
info: explicitly specify libfoo version to manually satisfy both constraints
@@ -27953,6 +27956,7 @@ else
error: unable to satisfy constraints on package libfoo
info: command line depends on (libfoo == 1.0.0)
info: libbar depends on (libfoo == 1.1.0)
+ command line requires (libbar == 1.1.0)
info: available libfoo/1.0.0
info: available libfoo/1.1.0
info: explicitly specify libfoo version to manually satisfy both constraints
@@ -28342,6 +28346,7 @@ else
$* $src/libbar-1.1.0.tar.gz "?$src/libfoo-1.0.0.tar.gz" 2>>~%EOE% != 0
error: unable to satisfy constraints on package libfoo
info: libbar depends on (libfoo == 1.1.0)
+ command line requires (libbar == 1.1.0)
info: command line depends on (libfoo == 1.0.0)
info: specify libfoo version to satisfy libbar constraint
info: while satisfying libbar/1.1.0
@@ -28753,6 +28758,7 @@ else
$* $d/libbar-1.1.0/ "?$d/libfoo-1.0.0/" 2>>~%EOE% != 0
error: unable to satisfy constraints on package libfoo
info: libbar depends on (libfoo == 1.1.0)
+ command line requires (libbar == 1.1.0)
info: command line depends on (libfoo == 1.0.0)
info: specify libfoo version to satisfy libbar constraint
info: while satisfying libbar/1.1.0