diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-03-17 10:49:07 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-03-17 10:50:26 +0100 |
commit | 46c75c9aa29ae68400fb205379168e9b10df80f5 (patch) | |
tree | c2a06072a8f4db86a17871651a711fd938791e83 /stdio-common | |
parent | nss: Sort tests and tests-container and put one test per line (diff) | |
download | glibc-46c75c9aa29ae68400fb205379168e9b10df80f5.tar.gz glibc-46c75c9aa29ae68400fb205379168e9b10df80f5.tar.bz2 glibc-46c75c9aa29ae68400fb205379168e9b10df80f5.zip |
stdio-common: Re-flow and sort Makefile variables
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/Makefile | 283 |
1 files changed, 217 insertions, 66 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile index d8498bbd62..4a4aa805ed 100644 --- a/stdio-common/Makefile +++ b/stdio-common/Makefile @@ -24,83 +24,234 @@ include ../Makeconfig headers := stdio_ext.h printf.h bits/printf-ldbl.h bits/stdio_lim.h -routines := \ - ctermid cuserid \ - _itoa _itowa itoa-digits itoa-udigits itowa-digits \ - vfprintf vprintf printf_fp reg-printf printf-prs printf_fphex \ - reg-modifier reg-type \ - printf_size fprintf printf snprintf sprintf asprintf dprintf \ - vfwprintf vfscanf vfwscanf \ - fscanf scanf sscanf \ - perror psignal \ - tmpfile tmpfile64 tmpnam tmpnam_r tempnam tempname \ - getline getw putw \ - remove rename renameat renameat2 \ - flockfile ftrylockfile funlockfile \ - isoc99_scanf isoc99_vscanf isoc99_fscanf isoc99_vfscanf isoc99_sscanf \ - isoc99_vsscanf \ - psiginfo gentempfd \ - vfscanf-internal vfwscanf-internal iovfscanf \ - vfprintf-internal vfwprintf-internal - -aux := errlist siglist printf-parsemb printf-parsewc fxprintf - -tests := tstscanf test_rdwr test-popen tstgetln test-fseek \ - temptest tst-fileno test-fwrite tst-ungetc tst-ferror \ - xbug errnobug \ - bug1 bug2 bug3 bug4 bug5 bug6 bug7 bug8 bug9 bug10 bug11 bug12 bug13 \ - tfformat tiformat tllformat tstdiomisc tst-printfsz tst-wc-printf \ - scanf1 scanf2 scanf3 scanf4 scanf5 scanf7 scanf8 scanf9 scanf10 \ - scanf11 scanf12 tst-tmpnam tst-cookie tst-obprintf tst-sscanf \ - tst-swprintf tst-fseek tst-fmemopen test-vfprintf tst-gets \ - tst-perror tst-sprintf tst-rndseek tst-fdopen tst-fphex bug14 \ - tst-popen tst-unlockedio tst-fmemopen2 tst-put-error tst-fgets \ - tst-fwrite bug16 bug17 tst-swscanf tst-sprintf2 bug18 bug18a \ - bug19 bug19a tst-popen2 scanf13 scanf14 scanf15 bug20 bug21 bug22 \ - scanf16 scanf17 tst-setvbuf1 tst-grouping bug23 bug24 \ - bug-vfprintf-nargs tst-long-dbl-fphex tst-fphex-wide tst-sprintf3 \ - bug25 tst-printf-round bug23-2 bug23-3 bug23-4 bug26 tst-fmemopen3 \ - tst-printf-bz18872 tst-vfprintf-width-prec tst-fmemopen4 \ - tst-vfprintf-user-type \ - tst-vfprintf-mbs-prec \ - tst-scanf-round \ - tst-renameat2 tst-bz11319 tst-bz11319-fortify2 \ - scanf14a scanf16a \ - tst-printf-bz25691 \ - tst-vfprintf-width-prec-alloc \ - tst-printf-fp-free \ - tst-printf-fp-leak \ - test-strerr \ - tst-printf-binary \ - tst-sprintf-errno \ - # tests +routines := \ + _itoa \ + _itowa \ + asprintf \ + ctermid \ + cuserid \ + dprintf \ + flockfile \ + fprintf \ + fscanf \ + ftrylockfile \ + funlockfile \ + gentempfd \ + getline \ + getw \ + iovfscanf \ + isoc99_fscanf \ + isoc99_scanf \ + isoc99_sscanf \ + isoc99_vfscanf \ + isoc99_vscanf \ + isoc99_vsscanf \ + itoa-digits \ + itoa-udigits \ + itowa-digits \ + perror \ + printf \ + printf-prs \ + printf_fp \ + printf_fphex \ + printf_size \ + psiginfo \ + psignal \ + putw \ + reg-modifier \ + reg-printf \ + reg-type \ + remove \ + rename \ + renameat \ + renameat2 \ + scanf \ + snprintf \ + sprintf \ + sscanf \ + tempnam \ + tempname \ + tmpfile \ + tmpfile64 \ + tmpnam \ + tmpnam_r \ + vfprintf \ + vfprintf-internal \ + vfscanf \ + vfscanf-internal \ + vfwprintf \ + vfwprintf-internal \ + vfwscanf \ + vfwscanf-internal \ + vprintf \ + # routines + +aux := \ + errlist \ + fxprintf \ + printf-parsemb \ + printf-parsewc \ + siglist \ + # aux + +tests := \ + bug-vfprintf-nargs \ + bug1 \ + bug10 \ + bug11 \ + bug12 \ + bug13 \ + bug14 \ + bug16 \ + bug17 \ + bug18 \ + bug18a \ + bug19 \ + bug19a \ + bug2 \ + bug20 \ + bug21 \ + bug22 \ + bug23 \ + bug23-2 \ + bug23-3 \ + bug23-4 \ + bug24 \ + bug25 \ + bug26 \ + bug3 \ + bug4 \ + bug5 \ + bug6 \ + bug7 \ + bug8 \ + bug9 \ + errnobug \ + scanf1 \ + scanf10 \ + scanf11 \ + scanf12 \ + scanf13 \ + scanf14 \ + scanf14a \ + scanf15 \ + scanf16 \ + scanf16a \ + scanf17 \ + scanf2 \ + scanf3 \ + scanf4 \ + scanf5 \ + scanf7 \ + scanf8 \ + scanf9 \ + temptest \ + test-fseek \ + test-fwrite \ + test-popen \ + test-strerr \ + test-vfprintf \ + test_rdwr \ + tfformat \ + tiformat \ + tllformat \ + tst-bz11319 \ + tst-bz11319-fortify2 \ + tst-cookie \ + tst-fdopen \ + tst-ferror \ + tst-fgets \ + tst-fileno \ + tst-fmemopen \ + tst-fmemopen2 \ + tst-fmemopen3 \ + tst-fmemopen4 \ + tst-fphex \ + tst-fphex-wide \ + tst-fseek \ + tst-fwrite \ + tst-gets \ + tst-grouping \ + tst-long-dbl-fphex \ + tst-obprintf \ + tst-perror \ + tst-popen \ + tst-popen2 \ + tst-printf-binary \ + tst-printf-bz18872 \ + tst-printf-bz25691 \ + tst-printf-fp-free \ + tst-printf-fp-leak \ + tst-printf-round \ + tst-printfsz \ + tst-put-error \ + tst-renameat2 \ + tst-rndseek \ + tst-scanf-round \ + tst-setvbuf1 \ + tst-sprintf \ + tst-sprintf-errno \ + tst-sprintf2 \ + tst-sprintf3 \ + tst-sscanf \ + tst-swprintf \ + tst-swscanf \ + tst-tmpnam \ + tst-ungetc \ + tst-unlockedio \ + tst-vfprintf-mbs-prec \ + tst-vfprintf-user-type \ + tst-vfprintf-width-prec \ + tst-vfprintf-width-prec-alloc \ + tst-wc-printf \ + tstdiomisc \ + tstgetln \ + tstscanf \ + xbug \ + # tests test-srcs = tst-unbputc tst-printf tst-printfsz-islongdouble ifeq ($(run-built-tests),yes) -tests-special += $(objpfx)tst-unbputc.out $(objpfx)tst-printf.out \ - $(objpfx)tst-printf-bz18872-mem.out \ - $(objpfx)tst-setvbuf1-cmp.out \ - $(objpfx)tst-vfprintf-width-prec-mem.out \ - $(objpfx)tst-printfsz-islongdouble.out \ - $(objpfx)tst-printf-bz25691-mem.out \ - $(objpfx)tst-printf-fp-free-mem.out \ - $(objpfx)tst-printf-fp-leak-mem.out -generated += tst-printf-bz18872.c tst-printf-bz18872.mtrace \ - tst-printf-bz18872-mem.out \ - tst-vfprintf-width-prec.mtrace tst-vfprintf-width-prec-mem.out \ - tst-printf-bz25691.mtrace tst-printf-bz25691-mem.out \ - tst-printf-fp-free.mtrace tst-printf-fp-free-mem.out \ - tst-printf-fp-leak.mtrace tst-printf-fp-leak-mem.out -endif +tests-special += \ + $(objpfx)tst-printf-bz18872-mem.out \ + $(objpfx)tst-printf-bz25691-mem.out \ + $(objpfx)tst-printf-fp-free-mem.out \ + $(objpfx)tst-printf-fp-leak-mem.out \ + $(objpfx)tst-printf.out \ + $(objpfx)tst-printfsz-islongdouble.out \ + $(objpfx)tst-setvbuf1-cmp.out \ + $(objpfx)tst-unbputc.out \ + $(objpfx)tst-vfprintf-width-prec-mem.out \ + # tests-special + +generated += \ + tst-printf-bz18872-mem.out \ + tst-printf-bz18872.c \ + tst-printf-bz18872.mtrace \ + tst-printf-bz25691-mem.out \ + tst-printf-bz25691.mtrace \ + tst-printf-fp-free-mem.out \ + tst-printf-fp-free.mtrace \ + tst-printf-fp-leak-mem.out \ + tst-printf-fp-leak.mtrace \ + tst-vfprintf-width-prec-mem.out \ + tst-vfprintf-width-prec.mtrace \ + # generated +endif # $(run-built-tests) tests-special += $(objpfx)tst-errno-manual.out include ../Rules ifeq ($(run-built-tests),yes) -LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ISO-8859-1 ja_JP.EUC-JP +LOCALES := \ + de_DE.ISO-8859-1 \ + de_DE.UTF-8 \ + en_US.ISO-8859-1 \ + ps_AF.UTF-8 \ + # LOCALES include ../gen-locales.mk $(objpfx)bug14.out: $(gen-locales) |