From e51232e710dfd32764e2c2d0599df83ab85a9c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 13 Jun 2013 18:20:39 +0300 Subject: errors: rewrite the logic how errors are reported Instead of the dependency oriented logic, switch to print them for each package or name needed. Might give a bit more readable errors now. There's still few corner cases that proper error is not output, which are cought by the test cases. --- test/error3.test | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/error3.test') diff --git a/test/error3.test b/test/error3.test index 2665374..9bd294d 100644 --- a/test/error3.test +++ b/test/error3.test @@ -2,5 +2,10 @@ --test-repo complicated1.repo add a !b @EXPECT -ERROR: unsatisfiable dependencies: - a-3: b +ERROR: unsatisfiable constraints: + d-2.0: + breaks: b-1[d<2.0] + satisfies: c-1[d>1.0] + b-1: + breaks: world[!b] + satisfies: a-3[b] -- cgit v1.2.3