aboutsummaryrefslogtreecommitdiff
path: root/math/test/mathtest.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2019-10-08 10:37:31 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2019-10-08 10:37:31 +0100
commit614d783bb55bdbf97f8c1844897638948d825f50 (patch)
treea3164db848153e152a211bbd6c6a49fef5584ad2 /math/test/mathtest.c
parentdb49c4bce058e722122594c3363669027153944c (diff)
downloadarm-optimized-routines-614d783bb55bdbf97f8c1844897638948d825f50.tar.gz
fix mathtest lineno accounting
Only increment once per fgets.
Diffstat (limited to 'math/test/mathtest.c')
-rw-r--r--math/test/mathtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/test/mathtest.c b/math/test/mathtest.c
index 8402948..dd8869b 100644
--- a/math/test/mathtest.c
+++ b/math/test/mathtest.c
@@ -1519,8 +1519,8 @@ void runtests(char *name, FILE *fp) {
}
test.in_err++;
print_errno = 1;
- lineno++;
}
+ lineno++;
}
}