mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
f0881698bf
This patch, an updated version of <https://sourceware.org/ml/libc-alpha/2014-01/msg00194.html> now proposed for inclusion in glibc, extends the generation of PASS and FAIL status in .test-result files for individual tests to cover tests with their own custom makefile rules. This is just adding $(evaluate-test) calls to all such rules, since tests with multiple commands were previously split into separate tests. Note that the tests the makefiles expect to fail (posix/annexc and conformtest) currently get FAIL listed in the .test-result file, rather than XFAIL; a subsequent patch will introduce a better XFAIL mechanism. Tested x86_64. * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test). ($(objpfx)check-local-headers.out): Likewise. ($(objpfx)begin-end-check.out): Likewise. * Makerules (check-abi-%.out): Likewise. * catgets/Makefile ($(objpfx)test1.cat): Likewise. ($(objpfx)test2.cat): Likewise. ($(objpfx)de/libc.cat): Likewise. ($(objpfx)test-gencat.out): Likewise. * conform/Makefile ($(objpfx)run-conformtest.out): Likewise. * elf/Makefile ($(objpfx)order-cmp.out): Likewise. ($(objpfx)noload-mem): Likewise. ($(objpfx)tst-pathopt.out): Likewise. ($(objpfx)tst-rtld-load-self.out): Likewise. ($(objpfx)tst-array1-cmp.out): Likewise. ($(objpfx)tst-array1-static-cmp.out): Likewise. ($(objpfx)tst-array2-cmp.out): Likewise. ($(objpfx)tst-array3-cmp.out): Likewise. ($(objpfx)tst-array4-cmp.out): Likewise. ($(objpfx)tst-array5-cmp.out): Likewise. ($(objpfx)tst-array5-static-cmp.out): Likewise. ($(objpfx)check-textrel.out): Likewise. ($(objpfx)check-execstack.out): Likewise. ($(objpfx)check-localplt.out): Likewise. ($(objpfx)order2-cmp.out): Likewise. ($(objpfx)tst-leaks1-mem): Likewise. ($(objpfx)tst-leaks1-static-mem): Likewise. ($(objpfx)tst-initorder-cmp.out): Likewise. ($(objpfx)tst-initorder2-cmp.out): Likewise. ($(objpfx)tst-unused-dep.out): Likewise. ($(objpfx)tst-unused-dep-cmp.out): Likewise. * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise. * iconv/Makefile (test-iconvconfig): Likewise. * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise. ($(objpfx)iconv-test.out): Likewise. ($(objpfx)tst-tables.out): Likewise. * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise. ($(objpfx)tst-gettext.out): Likewise. ($(objpfx)tst-translit.out): Likewise. ($(objpfx)tst-gettext2.out): Likewise. ($(objpfx)tst-gettext4.out): Likewise. ($(objpfx)tst-gettext6.out): Likewise. * io/Makefile ($(objpfx)ftwtest.out): Likewise. * libio/Makefile ($(objpfx)test-freopen.out): Likewise. ($(objpfx)tst-fopenloc-cmp.out): Likewise. ($(objpfx)tst-fopenloc-mem.out): Likewise. * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise. * misc/Makefile ($(objpfx)tst-error1-mem): Likewise. * posix/Makefile ($(objpfx)globtest.out): Likewise. ($(objpfx)wordexp-tst.out): Likewise. ($(objpfx)annexc.out): Likewise. ($(objpfx)tst-fnmatch-mem): Likewise. ($(objpfx)bug-regex2-mem): Likewise. ($(objpfx)bug-regex14-mem): Likewise. ($(objpfx)bug-regex21-mem): Likewise. ($(objpfx)bug-regex31-mem): Likewise. ($(objpfx)tst-vfork3-mem): Likewise. ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise. ($(objpfx)tst-pcre-mem): Likewise. ($(objpfx)tst-boost-mem): Likewise. ($(objpfx)tst-getconf.out): Likewise. ($(objpfx)bug-ga2-mem): Likewise. ($(objpfx)bug-glob2-mem): Likewise. * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise. ($(objpfx)mtrace-tst-leaks2): Likewise. * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise. ($(objpfx)tst-printf.out): Likewise. ($(objpfx)tst-setvbuf1.out): Likewise. ($(objpfx)tst-setvbuf1-cmp.out): Likewise. * stdlib/Makefile ($(objpfx)isomac.out): Likewise. ($(objpfx)tst-fmtmsg.out): Likewise. * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise. * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise. localedata: * Makefile ($(objpfx)sort-test.out): Use $(evaluate-test). ($(objpfx)tst-fmon.out): Likewise. ($(objpfx)tst-numeric.out): Likewise. ($(objpfx)tst-locale.out): Likewise. ($(objpfx)tst-rpmatch.out): Likewise. ($(objpfx)tst-trans.out): Likewise. ($(objpfx)tst-mbswcs.out): Likewise. ($(objpfx)tst-ctype.out): Likewise. ($(objpfx)tst-wctype.out): Likewise. ($(objpfx)tst-langinfo.out): Likewise. ($(objpfx)mtrace-tst-leaks): Likewise. nptl: * Makefile ($(objpfx)tst-stack3-mem): Use $(evaluate-test). ($(objpfx)tst-tls6.out): Likewise. ($(objpfx)tst-cleanup0.out): Likewise. ($(objpfx)tst-cleanup0-cmp.out): Likewise. ($(objpfx)tst-cancel-wrappers.out): Likewise. ($(objpfx)tst-oddstacklimit.out): Likewise. nptl_db: * Makefile ($(objpfx)db-symbols.out): Use $(evaluate-test). |
||
---|---|---|
.. | ||
cache.c | ||
chroot_canon.c | ||
circleload1.c | ||
circlemod1.c | ||
circlemod1a.c | ||
circlemod2.c | ||
circlemod2a.c | ||
circlemod3.c | ||
circlemod3a.c | ||
constload1.c | ||
constload2.c | ||
constload3.c | ||
dblload.c | ||
dblloadmod1.c | ||
dblloadmod2.c | ||
dblloadmod3.c | ||
dblunload.c | ||
dep1.c | ||
dep2.c | ||
dep3.c | ||
dep4.c | ||
dl-addr.c | ||
dl-brk.c | ||
dl-cache.c | ||
dl-caller.c | ||
dl-close.c | ||
dl-conflict.c | ||
dl-debug.c | ||
dl-deps.c | ||
dl-dst.h | ||
dl-environ.c | ||
dl-error.c | ||
dl-execstack.c | ||
dl-fini.c | ||
dl-fptr.c | ||
dl-hwcaps.c | ||
dl-init.c | ||
dl-iteratephdr.c | ||
dl-libc.c | ||
dl-load.c | ||
dl-lookup.c | ||
dl-minimal.c | ||
dl-misc.c | ||
dl-object.c | ||
dl-open.c | ||
dl-origin.c | ||
dl-profile.c | ||
dl-profstub.c | ||
dl-reloc.c | ||
dl-runtime.c | ||
dl-sbrk.c | ||
dl-scope.c | ||
dl-support.c | ||
dl-sym.c | ||
dl-symaddr.c | ||
dl-sysdep.c | ||
dl-tls.c | ||
dl-trampoline.c | ||
dl-tsd.c | ||
dl-version.c | ||
dl-writev.h | ||
do-rel.h | ||
dynamic-link.h | ||
elf.h | ||
enbl-secure.c | ||
failobj.c | ||
filter.c | ||
filtmod1.c | ||
filtmod2.c | ||
firstobj.c | ||
gen-trusted-dirs.awk | ||
genrtldtbl.awk | ||
get-dynamic-info.h | ||
global.c | ||
globalmod1.c | ||
ifuncdep1.c | ||
ifuncdep1pic.c | ||
ifuncdep2.c | ||
ifuncdep2pic.c | ||
ifuncdep5.c | ||
ifuncdep5pic.c | ||
ifuncmain1.c | ||
ifuncmain1pic.c | ||
ifuncmain1picstatic.c | ||
ifuncmain1pie.c | ||
ifuncmain1static.c | ||
ifuncmain1staticpic.c | ||
ifuncmain1staticpie.c | ||
ifuncmain1vis.c | ||
ifuncmain1vispic.c | ||
ifuncmain1vispie.c | ||
ifuncmain2.c | ||
ifuncmain2pic.c | ||
ifuncmain2picstatic.c | ||
ifuncmain2static.c | ||
ifuncmain3.c | ||
ifuncmain4.c | ||
ifuncmain4picstatic.c | ||
ifuncmain4static.c | ||
ifuncmain5.c | ||
ifuncmain5pic.c | ||
ifuncmain5picstatic.c | ||
ifuncmain5pie.c | ||
ifuncmain5static.c | ||
ifuncmain5staticpic.c | ||
ifuncmain6pie.c | ||
ifuncmain7.c | ||
ifuncmain7pic.c | ||
ifuncmain7picstatic.c | ||
ifuncmain7pie.c | ||
ifuncmain7static.c | ||
ifuncmod1.c | ||
ifuncmod3.c | ||
ifuncmod5.c | ||
ifuncmod6.c | ||
initfirst.c | ||
interp.c | ||
lateglobal.c | ||
ldconfig.c | ||
ldd.bash.in | ||
link.h | ||
loadfail.c | ||
loadtest.c | ||
ltglobmod1.c | ||
ltglobmod2.c | ||
Makefile | ||
multiload.c | ||
neededobj1.c | ||
neededobj2.c | ||
neededobj3.c | ||
neededobj4.c | ||
neededobj5.c | ||
neededobj6.c | ||
neededtest2.c | ||
neededtest3.c | ||
neededtest4.c | ||
neededtest.c | ||
next.c | ||
nextmod1.c | ||
nextmod2.c | ||
nodel2mod1.c | ||
nodel2mod2.c | ||
nodel2mod3.c | ||
nodelete2.c | ||
nodelete.c | ||
nodelmod1.c | ||
nodelmod2.c | ||
nodelmod3.c | ||
nodelmod4.c | ||
nodlopen2.c | ||
nodlopen.c | ||
nodlopenmod2.c | ||
nodlopenmod.c | ||
noload.c | ||
order2.c | ||
order2mod1.c | ||
order2mod2.c | ||
order2mod3.c | ||
order2mod4.c | ||
order.c | ||
origtest.c | ||
pathoptobj.c | ||
pldd-xx.c | ||
pldd.c | ||
preloadtest.c | ||
readelflib.c | ||
readlib.c | ||
reldep2.c | ||
reldep3.c | ||
reldep4.c | ||
reldep4mod1.c | ||
reldep4mod2.c | ||
reldep4mod3.c | ||
reldep4mod4.c | ||
reldep5.c | ||
reldep6.c | ||
reldep6mod0.c | ||
reldep6mod1.c | ||
reldep6mod2.c | ||
reldep6mod3.c | ||
reldep6mod4.c | ||
reldep7.c | ||
reldep7mod1.c | ||
reldep7mod2.c | ||
reldep8.c | ||
reldep8mod1.c | ||
reldep8mod2.c | ||
reldep8mod3.c | ||
reldep9.c | ||
reldep9mod1.c | ||
reldep9mod2.c | ||
reldep9mod3.c | ||
reldep.c | ||
reldepmod1.c | ||
reldepmod2.c | ||
reldepmod3.c | ||
reldepmod4.c | ||
reldepmod5.c | ||
reldepmod6.c | ||
resolvfail.c | ||
restest1.c | ||
restest2.c | ||
rtld-debugger-interface.txt | ||
rtld-Rules | ||
rtld.c | ||
setup-vdso.h | ||
sln.c | ||
sofini.c | ||
soinit.c | ||
sotruss-lib.c | ||
sotruss.ksh | ||
sprof.c | ||
static-stubs.c | ||
testobj1_1.c | ||
testobj1.c | ||
testobj2.c | ||
testobj3.c | ||
testobj4.c | ||
testobj5.c | ||
testobj6.c | ||
testobj.h | ||
tls-macros.h | ||
tlsdeschtab.h | ||
tst-addr1.c | ||
tst-align2.c | ||
tst-align.c | ||
tst-alignmod2.c | ||
tst-alignmod.c | ||
tst-array1-static.c | ||
tst-array1.c | ||
tst-array1.exp | ||
tst-array2.c | ||
tst-array2.exp | ||
tst-array2dep.c | ||
tst-array3.c | ||
tst-array4.c | ||
tst-array4.exp | ||
tst-array5-static.c | ||
tst-array5-static.exp | ||
tst-array5.c | ||
tst-array5.exp | ||
tst-array5dep.c | ||
tst-audit1.c | ||
tst-audit2.c | ||
tst-audit8.c | ||
tst-auditmod1.c | ||
tst-auxv.c | ||
tst-deep1.c | ||
tst-deep1mod1.c | ||
tst-deep1mod2.c | ||
tst-deep1mod3.c | ||
tst-dlmodcount.c | ||
tst-dlmopen1.c | ||
tst-dlmopen1mod.c | ||
tst-dlmopen2.c | ||
tst-dlmopen3.c | ||
tst-dlopenrpath.c | ||
tst-dlopenrpathmod.c | ||
tst-execstack-mod.c | ||
tst-execstack-needed.c | ||
tst-execstack-prog.c | ||
tst-execstack.c | ||
tst-global1.c | ||
tst-initorder2.c | ||
tst-initorder2.exp | ||
tst-initorder.c | ||
tst-initorder.exp | ||
tst-initordera1.c | ||
tst-initordera2.c | ||
tst-initordera3.c | ||
tst-initordera4.c | ||
tst-initorderb1.c | ||
tst-initorderb2.c | ||
tst-leaks1-static.c | ||
tst-leaks1.c | ||
tst-null-argv-lib.c | ||
tst-null-argv.c | ||
tst-order-a1.c | ||
tst-order-a2.c | ||
tst-order-a3.c | ||
tst-order-a4.c | ||
tst-order-b1.c | ||
tst-order-b2.c | ||
tst-order-main.c | ||
tst-pathopt.c | ||
tst-pathopt.sh | ||
tst-pie1.c | ||
tst-piemod1.c | ||
tst-ptrguard1-static.c | ||
tst-ptrguard1.c | ||
tst-relsort1.c | ||
tst-relsort1mod1.c | ||
tst-relsort1mod2.c | ||
tst-rtld-load-self.sh | ||
tst-stackguard1-static.c | ||
tst-stackguard1.c | ||
tst-thrlock.c | ||
tst-tls1-static.c | ||
tst-tls1.c | ||
tst-tls2-static.c | ||
tst-tls2.c | ||
tst-tls3.c | ||
tst-tls4.c | ||
tst-tls5.c | ||
tst-tls6.c | ||
tst-tls7.c | ||
tst-tls8.c | ||
tst-tls9-static.c | ||
tst-tls9.c | ||
tst-tls10.c | ||
tst-tls10.h | ||
tst-tls11.c | ||
tst-tls12.c | ||
tst-tls13.c | ||
tst-tls14.c | ||
tst-tls15.c | ||
tst-tls16.c | ||
tst-tls17.c | ||
tst-tls18.c | ||
tst-tls19.c | ||
tst-tls19mod1.c | ||
tst-tls19mod2.c | ||
tst-tls19mod3.c | ||
tst-tls-dlinfo.c | ||
tst-tlsmod1.c | ||
tst-tlsmod2.c | ||
tst-tlsmod3.c | ||
tst-tlsmod4.c | ||
tst-tlsmod5.c | ||
tst-tlsmod6.c | ||
tst-tlsmod7.c | ||
tst-tlsmod8.c | ||
tst-tlsmod9.c | ||
tst-tlsmod10.c | ||
tst-tlsmod11.c | ||
tst-tlsmod12.c | ||
tst-tlsmod13.c | ||
tst-tlsmod13a.c | ||
tst-tlsmod14a.c | ||
tst-tlsmod14b.c | ||
tst-tlsmod15a.c | ||
tst-tlsmod15b.c | ||
tst-tlsmod16a.c | ||
tst-tlsmod16b.c | ||
tst-tlsmod17a.c | ||
tst-tlsmod17b.c | ||
tst-tlsmod18a.c | ||
tst-unique1.c | ||
tst-unique1mod1.c | ||
tst-unique1mod2.c | ||
tst-unique2.c | ||
tst-unique2mod1.c | ||
tst-unique2mod2.c | ||
tst-unique3.cc | ||
tst-unique3.h | ||
tst-unique3lib2.cc | ||
tst-unique3lib.cc | ||
tst-unique4.cc | ||
tst-unique4.h | ||
tst-unique4lib.cc | ||
unload2.c | ||
unload2dep.c | ||
unload2mod.c | ||
unload3.c | ||
unload3mod1.c | ||
unload3mod2.c | ||
unload3mod3.c | ||
unload3mod4.c | ||
unload4.c | ||
unload4mod1.c | ||
unload4mod2.c | ||
unload4mod3.c | ||
unload4mod4.c | ||
unload5.c | ||
unload6.c | ||
unload6mod1.c | ||
unload6mod2.c | ||
unload6mod3.c | ||
unload7.c | ||
unload7mod1.c | ||
unload7mod2.c | ||
unload8.c | ||
unload8mod1.c | ||
unload8mod1x.c | ||
unload8mod2.c | ||
unload8mod3.c | ||
unload.c | ||
unloadmod.c | ||
Versions | ||
vismain.c | ||
vismod1.c | ||
vismod2.c | ||
vismod3.c | ||
vismod.h |