summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2011-08-01solver: generate proper error messagesTimo Teräs22-13/+56
* the solver no longer does look-ahead locking of names (could be possibly optimized later); instead names are now always ordered strictly to properly detect the package names which are unsolveable * basic error tests added, so we can see the most likely problem in dependencies easily
2011-07-27solver: don't consider package that we can't haveTimo Teräs2-0/+1
Packages that need (re-)installation but which are not available, are excluded now properly.
2011-07-27solver: permutate each preferred solution firstTimo Teräs5-0/+17
The first found solution is the most preferred one then.
2011-07-26solver: new package selection logic (which is not yet used)Timo Teräs23-5/+155
* basic code for a backtracking, forward checking dependency satisfier * works better when there are tricky dependencies to solve (when can't just upgrade everything to most preferred versions) * the new code always evaluates all of 'world' constraints (old code just does incremental updates based on heuristics) * is probably somewhat slower than old code (probably unnoticeable difference in most cases) * makes easier to write support for provides and repository pinning * test applet and a bunch of test cases added which uses the new code * from the old feature set install_if is not yet implemented
2010-06-15test: check if upgrade works when package is missing in repoNatanael Copa1-0/+7
2010-06-15test: dont run sh manually but respect #!/bin/sh in each testNatanael Copa9-10/+13
That way we can set sh options case by case
2010-06-15test: initial testsuiteNatanael Copa17-0/+422
2009-11-06test: add test cases for version comparingTimo Teras2-0/+741
so i don't get to break version compares again.