summaryrefslogtreecommitdiff
path: root/tools/patchcheck.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-06-20 18:30:31 +0200
committerMichael Schroeder <mls@suse.de>2011-06-20 18:30:31 +0200
commite29f9ccb48086b27462c751d1905ed3c5e703dfd (patch)
tree1f6d1bffbcec41653e4c322f3d94c5dcc0766dba /tools/patchcheck.c
parent2b400c17febadf2b05aa88d9e6cdca882544a6cb (diff)
downloadlibsolv-e29f9ccb48086b27462c751d1905ed3c5e703dfd.tar.gz
libsolv-e29f9ccb48086b27462c751d1905ed3c5e703dfd.tar.bz2
libsolv-e29f9ccb48086b27462c751d1905ed3c5e703dfd.zip
- change transaction_init to transaction_create, add solver flag setting/getting
Diffstat (limited to 'tools/patchcheck.c')
-rw-r--r--tools/patchcheck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/patchcheck.c b/tools/patchcheck.c
index 9ebb535..4d170f8 100644
--- a/tools/patchcheck.c
+++ b/tools/patchcheck.c
@@ -292,7 +292,7 @@ test_all_packages_installable(context_t *c, Id pid)
queue_push(&job, pool_str2id(pool, "aaa_base", 1));
solv = solver_create(pool);
- solv->dontinstallrecommended = 0;
+ /* solver_set_flag(solv, SOLVER_FLAG_IGNORE_RECOMMENDED, 1); */
++solver_runs;
if (solver_solve(solv, &job))
{
@@ -321,7 +321,7 @@ test_all_packages_installable(context_t *c, Id pid)
queue_push(&job, SOLVER_INSTALL|SOLVER_SOLVABLE);
queue_push(&job, pid);
solv = solver_create(pool);
- /*solv->dontinstallrecommended = 1;*/
+ /* solver_set_flag(solv, SOLVER_FLAG_IGNORE_RECOMMENDED, 1); */
++solver_runs;
if (solver_solve(solv, &job))
{
@@ -420,7 +420,7 @@ test_can_upgrade_all_packages(context_t *c, Id pid)
queue_push(&job, SOLVER_INSTALL|SOLVER_SOLVABLE);
queue_push(&job, pid);
solv = solver_create(pool);
- solv->dontinstallrecommended = 1;
+ solver_set_flag(solv, SOLVER_FLAG_IGNORE_RECOMMENDED, 1);
++solver_runs;
if (solver_solve(solv, &job))
{