From e51232e710dfd32764e2c2d0599df83ab85a9c74 Mon Sep 17 00:00:00 2001 From: Timo Teräs 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/provides5.test | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/provides5.test') diff --git a/test/provides5.test b/test/provides5.test index 906eb76..fc21ae2 100644 --- a/test/provides5.test +++ b/test/provides5.test @@ -2,5 +2,10 @@ --test-repo provides.repo add server-a server-b @EXPECT -ERROR: unsatisfiable dependencies: - world: server-a +ERROR: unsatisfiable constraints: + server-a-1: + conflicts: server-b-1[theservice] + satisfies: world[server-a] + server-b-1: + conflicts: server-a-1[theservice] + satisfies: world[server-b] -- cgit v1.2.3-60-g2f50