]> sourceware.org Git - glibc.git/commit
Consistently terminate libm-test-*.inc TEST lines with commas.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 3 Aug 2018 16:56:02 +0000 (16:56 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 3 Aug 2018 16:56:02 +0000 (16:56 +0000)
commitea705eb5ec1cf12525ab5c668e89ca28962978c6
tree55b34a84fb26765fa93055757fea95265f187c11
parent284f42bc778e487dfd5dff5c01959f93b9e0c4f5
Consistently terminate libm-test-*.inc TEST lines with commas.

Some TEST_* lines in libm-test-*.inc end with semicolons not commas.
This works at present because gen-libm-test.pl ignores whatever comes
after the TEST_* call, but is logically wrong (since the TEST_* calls
generate array elements, not statements) and the Python replacement
for gen-libm-test.pl that I'm working on is stricter about the syntax
here.  This patch fixes the lines in question to use commas like most
such lines already do.

Tested for x86_64.

* math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
after TEST_* calls.
* math/libm-test-llogb.inc (llogb_test_data): Likewise.
* math/libm-test-logb.inc (logb_test_data): Likewise.
ChangeLog
math/libm-test-ilogb.inc
math/libm-test-llogb.inc
math/libm-test-logb.inc
This page took 0.041674 seconds and 5 git commands to generate.