summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-08-05 11:53:26 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-08-05 14:34:58 +0300
commit48d368e7d53ebdfd7ec0abcdd8340ae339de6030 (patch)
tree6f610183ec408ffa6dcd63abbbba0276341dbd18 /src/test.c
parenta5146f1b6cb5bb0cf56c6aa8293e26302e5d0ee2 (diff)
downloadapk-tools-48d368e7d53ebdfd7ec0abcdd8340ae339de6030.tar.gz
apk-tools-48d368e7d53ebdfd7ec0abcdd8340ae339de6030.tar.bz2
apk-tools-48d368e7d53ebdfd7ec0abcdd8340ae339de6030.tar.xz
apk-tools-48d368e7d53ebdfd7ec0abcdd8340ae339de6030.zip
solver: move topology sorting to solver code
this allows quite some optimizations to running time and memory requirements.
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test.c b/src/test.c
index b6327d8..76a513d 100644
--- a/src/test.c
+++ b/src/test.c
@@ -179,7 +179,6 @@ static int test_main(void *pctx, struct apk_database *db, int argc, char **argv)
apk_deps_parse(db, &db->world, APK_BLOB_STR(argv[0]));
/* run solver */
- apk_solver_sort(db);
r = apk_solver_solve(db, db->world, &solution, TRUE);
if (r == 0) {
memset(&changeset, 0, sizeof(changeset));