From: Michael Schroeder Date: Thu, 18 Apr 2019 13:43:59 +0000 (+0200) Subject: Deal with update/feature jobs in alternative printing X-Git-Tag: 0.7.5~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12e25d4bdfbc3a768f267ec63267386fbff327d5;p=thirdparty%2Flibsolv.git Deal with update/feature jobs in alternative printing --- diff --git a/ext/testcase.c b/ext/testcase.c index c01249cc..242d30ab 100644 --- a/ext/testcase.c +++ b/ext/testcase.c @@ -1434,6 +1434,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++)