]> Savannah Git Hosting - gnulib.git/commit
stdbit-tests: new module
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 May 2024 00:41:19 +0000 (17:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 May 2024 18:44:31 +0000 (11:44 -0700)
commit202261b5f0bfe5ab8962209f67781a9b7b6e55c3
treeeef0d7b60735db4ef69ddae4ac9fdcd8bf22259a
parent4de6323d5d20996e51097a90f617cd4404a23eba
stdbit-tests: new module

* config/srclist.txt: Add files containing stdbit test cases
shared with glibc.
* modules/stdbit-tests: New file.
* tests/support/test-driver.c, tests/tst-stdbit.h:
New files, copied from glibc with changes.
* tests/tst-stdc_bit_ceil.c:
* tests/tst-stdc_bit_floor.c, tests/tst-stdc_bit_width.c:
* tests/tst-stdc_count_ones.c, tests/tst-stdc_count_zeros.c:
* tests/tst-stdc_first_leading_one.c:
* tests/tst-stdc_first_leading_zero.c:
* tests/tst-stdc_first_trailing_one.c:
* tests/tst-stdc_first_trailing_zero.c:
* tests/tst-stdc_has_single_bit.c, tests/tst-stdc_leading_ones.c:
* tests/tst-stdc_leading_zeros.c, tests/tst-stdc_trailing_ones.c:
* tests/tst-stdc_trailing_zeros.c:
New files, copied verbatim from glibc.
20 files changed:
ChangeLog
config/srclist.txt
lib/stdbit.in.h
modules/stdbit-tests [new file with mode: 0644]
tests/support/test-driver.c [new file with mode: 0644]
tests/tst-stdbit.h [new file with mode: 0644]
tests/tst-stdc_bit_ceil.c [new file with mode: 0644]
tests/tst-stdc_bit_floor.c [new file with mode: 0644]
tests/tst-stdc_bit_width.c [new file with mode: 0644]
tests/tst-stdc_count_ones.c [new file with mode: 0644]
tests/tst-stdc_count_zeros.c [new file with mode: 0644]
tests/tst-stdc_first_leading_one.c [new file with mode: 0644]
tests/tst-stdc_first_leading_zero.c [new file with mode: 0644]
tests/tst-stdc_first_trailing_one.c [new file with mode: 0644]
tests/tst-stdc_first_trailing_zero.c [new file with mode: 0644]
tests/tst-stdc_has_single_bit.c [new file with mode: 0644]
tests/tst-stdc_leading_ones.c [new file with mode: 0644]
tests/tst-stdc_leading_zeros.c [new file with mode: 0644]
tests/tst-stdc_trailing_ones.c [new file with mode: 0644]
tests/tst-stdc_trailing_zeros.c [new file with mode: 0644]