aboutsummaryrefslogtreecommitdiff
path: root/commands/report-card.awk
diff options
context:
space:
mode:
Diffstat (limited to 'commands/report-card.awk')
-rw-r--r--commands/report-card.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/report-card.awk b/commands/report-card.awk
index 415e74a..a88b5cb 100644
--- a/commands/report-card.awk
+++ b/commands/report-card.awk
@@ -1,5 +1,5 @@
# report-card.awk -- Test summary tool
-# Copyright (C) 2018, 2021 Free Software Foundation, Inc.
+# Copyright (C) 2018, 2021, 2024 Free Software Foundation, Inc.
#
# This file is part of DejaGnu.
#
@@ -132,6 +132,7 @@ $1 ~ /:$/ { sub(/:$/, "", $1); Totals["tp", Tool, Pass, $1]++ }
END {
$0 = ("PASS FAIL KPASS KFAIL XPASS XFAIL UNSUPPORTED UNRESOLVED UNTESTED")
+ NF = 9 # work around bug in AIX 7.1 awk
for (i = 1; i in Tools; i++)
for (j = 1; ("t", Tools[i], j) in Passes; j++)
for (k = 1; k <= NF; k++) {