On 2024-05-13 10:47, Bruno Haible wrote:
I would propose to rename the files to 'test-*' in Gnulib. They are
not likely to be modified frequently in glibc, therefore the gnulib <--> glibc
merge effort is likely zero. And annotate the mapping in config/srclist.txt
accordingly.
Wouldn't we also need to change config/srclist-update to support file
renaming? And even then it'd be confusing for the files to have
different basenames in gnulib vs glibc.
If you have objections to that, I would instead
- move the tst-* files to a subdirectory, say from-glibc/,
- change the module descriptions so that
tests/from-glibc/tst-stdc_trailing_zeros.c
is compiled to an executable named
${tests_prefix}/test-stdc_trailing_zeros${EXEEXT}.
So that the autocompletion again works.
That should work, and I think it wouldn't need changes to
config/srclist-update. Thanks.