]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Deal with update/feature jobs in alternative printing
authorMichael Schroeder <mls@suse.de>
Thu, 18 Apr 2019 13:43:59 +0000 (15:43 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 27 Jun 2019 14:28:58 +0000 (16:28 +0200)
ext/testcase.c

index ae5d94dcdef2e2053baac86b84b580f0368f70f8..fa5b7ded13381e6b472105022cd0f06667308746 100644 (file)
@@ -2025,6 +2025,13 @@ testcase_solverresult(Solver *solv, int resultflags)
                      s = pool_tmpappend(pool, s, " requires ", testcase_dep2str(pool, rq.elements[i + 3]));
                      strqueue_push(&sq, s);
                    }
+                 else if (rtype == SOLVER_RULE_UPDATE || rtype == SOLVER_RULE_FEATURE)
+                   {
+                     const char *js = testcase_solvid2str(pool, rq.elements[i + 1]);
+                     char *s = pool_tmpjoin(pool, altprefix, num, " update ");
+                     s = pool_tmpappend(pool, s, js, 0);
+                     strqueue_push(&sq, s);
+                   }
                }
            }
          for (i = 0; i < q.count; i++)