[PATCH v20 09/11] posix: Add a script for static validation of getopt_long PO files

Vivien Kraus vivien@planete-kraus.eu
Sun Feb 1 22:26:49 GMT 2026


Hello,

Le 30/01/2026 à 14:43, Adhemerval Zanella Netto a écrit :
>> diff --git a/posix/Makefile b/posix/Makefile
>> index 45c99a0826..7fb73e2e96 100644
>> --- a/posix/Makefile
>> +++ b/posix/Makefile
>> @@ -251,6 +251,7 @@ tests := \
>>     testfnm \
>>     transbug \
>>     tst-boost \
>> +  tst-check-getopt-translations \
> I think you forgot to add the test source code:
>
> $ make check -j run-built-tests=no
> [...]
> make[2]: *** No rule to make target '/home/azanella/projects/glibc/build/aarch64-linux-gnu/posix/tst-check-getopt-translations.o', needed by '/home/azanella/projects/glibc/build/aarch64-linux-gnu/posix/tst-check-getopt-translations'.  Stop.

Thank you for looking into it.

I think that I’m not doing the correct thing. I have:

- a Perl installed script, posix/check-getopt-translations[.pl];

- a shell script to test it, posix/tst-check-getopt-translations.sh.

I want to run the shell script as a test. I registered my test here, but 
it looks like this is not what I want.  Why is make trying to compile a 
C executable? I just have a shell script.

Where / how should I register it?

Best regards,

Vivien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260201/eaf7f693/attachment.htm>


More information about the Libc-alpha mailing list