diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-08-29 10:51:50 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-08-29 10:51:50 +0100 |
commit | 5e3d7561902566f786239c202b289c7be15a3f25 (patch) | |
tree | 4cfcf6c2cf7db8315c346b9f5ab6c708fe8392f6 /string/test/strncmp.c | |
parent | 9c8399909a9835e6f55977df1661cf6306c56707 (diff) | |
download | arm-optimized-routines-5e3d7561902566f786239c202b289c7be15a3f25.tar.gz |
string: print passing test cases
Without printing anything on success it is unclear if the right set
of functions got hooked up in the test code.
Diffstat (limited to 'string/test/strncmp.c')
-rw-r--r-- | string/test/strncmp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/string/test/strncmp.c b/string/test/strncmp.c index 14e0a8c..43f941d 100644 --- a/string/test/strncmp.c +++ b/string/test/strncmp.c @@ -95,10 +95,9 @@ int main() test(funtab+i, d, s, n/2, n/2, n); } } - if (test_status) { + printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); + if (test_status) r = -1; - ERR("FAIL %s\n", funtab[i].name); - } } return r; } |