testsuite: stdlib/isomac.c: fix REQUIREMENTS

All of the mentioned variables are gone. gcc is just the default and
argv[1] can be used instead. /usr/include isn't hard-coded and you can
pass argv[2] with -I... to adjust.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
наб 2023-05-04 22:25:57 +02:00 committed by Carlos O'Donell
parent 2f679937b3
commit cea74a4a24

View file

@ -45,14 +45,11 @@
compiler compiles some other language than Standard C. compiler compiles some other language than Standard C.
REQUIREMENTS: REQUIREMENTS:
This program calls gcc to get the list of defined macros. If you This program calls ${1-gcc} to get the list of defined macros. If you
don't have gcc you're probably out of luck unless your compiler or don't have gcc you're probably out of luck unless your compiler or
preprocessor has something similar to gcc's -dM option. Tune preprocessor has something similar to gcc's -dM option. This program
PRINT_MACROS in this case. This program assumes headers are found assumes headers are found in the default search path (pass -I... in
under /usr/include and that there is a writable /tmp directory. $2 if this is not the case) and that there is a writable /tmp directory.
Tune SYSTEM_INCLUDE if your system differs.
#define BROKEN_SYSTEM if system(NULL) bombs -- one more violation
of ISO C, by the way.
OUTPUT: OUTPUT:
Each header file name is printed, followed by illegal macro names Each header file name is printed, followed by illegal macro names