apk-tools/test
Timo Teräs 12183024fd solver: calculate branch minimum penalty early
Previously we would cache the penalty when evaluating the final
solution, and adding that until we backtrack to first topology
position changing that penalty. However, we can just keep track
of minimum penalty based on name state, and add it. This allows
us to bail out early on bad branches because we know in advance
how things will turn out.
2012-01-17 14:18:02 +02:00
..
repo1 test: initial testsuite 2010-06-15 13:31:20 +00:00
repo2 test: initial testsuite 2010-06-15 13:31:20 +00:00
.gitignore test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
Makefile solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
basic.installed solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
basic.installed2 solver: permutate each preferred solution first 2011-07-27 20:45:38 +03:00
basic.repo solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
basic1.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
basic1.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
basic2.expect solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
basic2.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
basic3.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
basic3.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
basic4.expect solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
basic4.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
basic5.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
basic5.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
basic6.expect solver: permutate each preferred solution first 2011-07-27 20:45:38 +03:00
basic6.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
basic7.expect solver: don't consider package that we can't have 2011-07-27 22:10:44 +03:00
basic7.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
complicated1.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
complicated1.installed solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
complicated1.repo solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
complicated1.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
complicated2.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
complicated2.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
complicated3.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
complicated3.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
complicated4.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
complicated4.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
conflict.repo solver, pkg: implement versioned conflicts 2011-10-24 10:16:40 -04:00
conflict1.expect solver, pkg: implement versioned conflicts 2011-10-24 10:16:40 -04:00
conflict2.expect solver, pkg: implement versioned conflicts 2011-10-24 10:16:40 -04:00
error1.expect solver: preference scoring 2011-10-14 21:01:43 +03:00
error1.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
error2.expect solver: calculate branch minimum penalty early 2012-01-17 14:18:02 +02:00
error2.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
error3.expect solver: preference scoring 2011-10-14 21:01:43 +03:00
error3.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
error4.expect solver: generate proper error messages 2011-08-01 16:21:47 +03:00
error4.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
error5.expect solver: preference scoring 2011-10-14 21:01:43 +03:00
error5.test solver: generate proper error messages 2011-08-01 16:21:47 +03:00
installif1.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
installif1.repo solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
installif1.test solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
installif2.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
installif2.test solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
installif3.expect solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
installif3.test solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
pinning.repo solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
pinning1.expect solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
pinning1.test solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
pinning2.expect solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
pinning2.test solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
pinning3.expect solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
pinning3.test solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
pinning4.expect solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
pinning4.test solver, db: implement repository pinning 2011-10-29 05:18:21 +03:00
solver.sh solver: generate proper error messages 2011-08-01 16:21:47 +03:00
test1.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test2.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test3.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test4.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test5.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test6.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test7.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test8.sh test: check if upgrade works when package is missing in repo 2010-06-15 19:18:36 +00:00
version.data test: add test cases for version comparing 2009-11-06 13:20:30 +02:00
version.sh solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00