From 11239cc3df556869e8a415d5570dc175baffef77 Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Mon, 3 Apr 2006 11:56:59 +0000 Subject: [PATCH] reporting solution for other architectures --- .../simple-tests/arch3-i686-package.xml | 23 ++++++++++ .../simple-tests/arch3-test.solution | 22 ++++++++++ .../data.deptestomatic/simple-tests/arch3-test.xml | 21 ++++++++++ .../simple-tests/arch3-x86_64-package.xml | 49 ++++++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 testsuite/solver/data.deptestomatic/simple-tests/arch3-i686-package.xml create mode 100644 testsuite/solver/data.deptestomatic/simple-tests/arch3-test.solution create mode 100644 testsuite/solver/data.deptestomatic/simple-tests/arch3-test.xml create mode 100644 testsuite/solver/data.deptestomatic/simple-tests/arch3-x86_64-package.xml diff --git a/testsuite/solver/data.deptestomatic/simple-tests/arch3-i686-package.xml b/testsuite/solver/data.deptestomatic/simple-tests/arch3-i686-package.xml new file mode 100644 index 0000000..dceab5b --- /dev/null +++ b/testsuite/solver/data.deptestomatic/simple-tests/arch3-i686-package.xml @@ -0,0 +1,23 @@ + + + A + A fake package + A fake package +
misc
+ + + 12345 + 0 + 1.0 + 1 + i386 + foo.bar + 123 + 234 + 0f55f36a3240858038a281911605024e + suggested + Yggdrasil Linux + + +
+
diff --git a/testsuite/solver/data.deptestomatic/simple-tests/arch3-test.solution b/testsuite/solver/data.deptestomatic/simple-tests/arch3-test.solution new file mode 100644 index 0000000..530dd73 --- /dev/null +++ b/testsuite/solver/data.deptestomatic/simple-tests/arch3-test.solution @@ -0,0 +1,22 @@ +>!> Installing B from channel test +>!> 1 problems found: +>!> Problem: +>!> B cannot be installed due to missing dependencies +>!> There are no installable providers of A == 1.1 for B-1.0-2.i686[test] +>!> Solution: +>!> Install A although it would change the architecture +>!> A-1.1-2.i686[test] provides this dependency but would changed the architecture of the installed item +>!> Solution: +>!> do not install B +>!> do not install B-1.0-2.i686[test] +>!> Solution: +>!> Ignore this requirement just here +>!> +>!> Taking solution: 0 +>!> For problem: 0 +>!> No problems so far +>!> No problems so far +>!> Solution #1: +>!> install B-1.0-2.i686[test] +>!> upgrade A-1.0-1.i386 => A-1.1-2.i686[test] +>!> installs=1, upgrades=1, uninstalls=0 diff --git a/testsuite/solver/data.deptestomatic/simple-tests/arch3-test.xml b/testsuite/solver/data.deptestomatic/simple-tests/arch3-test.xml new file mode 100644 index 0000000..49a89d1 --- /dev/null +++ b/testsuite/solver/data.deptestomatic/simple-tests/arch3-test.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + diff --git a/testsuite/solver/data.deptestomatic/simple-tests/arch3-x86_64-package.xml b/testsuite/solver/data.deptestomatic/simple-tests/arch3-x86_64-package.xml new file mode 100644 index 0000000..e6d9499 --- /dev/null +++ b/testsuite/solver/data.deptestomatic/simple-tests/arch3-x86_64-package.xml @@ -0,0 +1,49 @@ + + + A + A fake package + A fake package +
misc
+ + + 12345 + 0 + 1.1 + 2 + i686 + foo.bar + 123 + 234 + 0f55f36a3240858038a281911605024e + suggested + Yggdrasil Linux + + +
+ + + B + A fake package + A fake package +
misc
+ + + 12345 + 0 + 1.0 + 2 + i686 + foo.bar + 123 + 234 + 0f55f36a3240858038a281911605024e + suggested + Yggdrasil Linux + + + + + +
+ +
-- 2.7.4