diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2010-06-21 15:26:59 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2010-06-21 15:30:33 -0700 |
commit | 115dc059fd1a7d480ac37226ddf551059928d704 (patch) | |
tree | d8a35dbd770d0b069d57a182622d8cbc6f9e6383 /src | |
parent | 05078d5b100fc3e725829cd470ae03459b948372 (diff) |
tcc: Fix number of failed tests in summary
The numbers were swapped in the failed/total tests message.
Not sure this is actually useful now that the report is generated, so
it might get removed entirely.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tet3/tcc/scenario.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tet3/tcc/scenario.c b/src/tet3/tcc/scenario.c index 946cd229..80dab87a 100644 --- a/src/tet3/tcc/scenario.c +++ b/src/tet3/tcc/scenario.c @@ -315,7 +315,7 @@ static void print_summary(struct proctab *prp) if (prp->pr_nfail > 0) rlen = snprintf(report, sizeof(report), "%d of %d %s failed", - prp->pr_ntests, prp->pr_nfail, + prp->pr_nfail, prp->pr_ntests, (prp->pr_ntests > 0) ? "tests" : "test"); else rlen = snprintf(report, sizeof(report), |