aboutsummaryrefslogtreecommitdiffstats
path: root/test/solver.sh
Commit message (Collapse)AuthorAgeFilesLines
* upgrade: improve self upgrade functionality a bitTimo Teräs2016-07-221-1/+1
| | | | trigger it only if apk-tools can be upgrade, add test cases
* test: clean up solver.shTimo Teräs2012-02-241-5/+9
| | | | | * take list of tests to run (and default to all) * merge the awk invocation to a function
* test: rewrite the testing framework to use the real appletsTimo Teräs2012-02-231-11/+11
| | | | also merge the expected output to the *.test files.
* solver: generate proper error messagesTimo Teräs2011-08-011-2/+6
| | | | | | | | | * 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: new package selection logic (which is not yet used)Timo Teräs2011-07-261-0/+23
* 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