aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* solver: reintroduce install_if supportTimo Teräs2011-08-1814-12/+80
| | | | | | * each package name has two sorting positions, one which causes install_if triggers to be run, and other for bulk dependencies * fix also inverted ordering of package installations
* solver: generate proper error messagesTimo Teräs2011-08-0122-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
* solver: don't consider package that we can't haveTimo Teräs2011-07-272-0/+1
| | | | | Packages that need (re-)installation but which are not available, are excluded now properly.
* solver: permutate each preferred solution firstTimo Teräs2011-07-275-0/+17
| | | | The first found solution is the most preferred one then.
* solver: new package selection logic (which is not yet used)Timo Teräs2011-07-2623-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
* test: check if upgrade works when package is missing in repoNatanael Copa2010-06-151-0/+7
|
* test: dont run sh manually but respect #!/bin/sh in each testNatanael Copa2010-06-159-10/+13
| | | | That way we can set sh options case by case
* test: initial testsuiteNatanael Copa2010-06-1517-0/+422
|
* test: add test cases for version comparingTimo Teras2009-11-062-0/+741
so i don't get to break version compares again.