aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-07 02:03:45 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-07 13:35:54 +0200
commitd6d74ec16c77126c59db264ebfa04d08d5b4c5c0 (patch)
tree95fded09b6a9d8ce35273d43c3f8e3d960bd0554
parentbe22a151f3e2c2e4b9127d4fa30b269f30a7ea2e (diff)
downloadglibc-d6d74ec16c77126c59db264ebfa04d08d5b4c5c0.tar.xz
glibc-d6d74ec16c77126c59db264ebfa04d08d5b4c5c0.zip
htl: Enable more tests
* htl/Makefile: Remove rules adding libpthread.so and libpthread.a to link lines. * nptl/Makefile: Move rules adding libpthread.so and libpthread.a to link lines to... * sysdeps/pthread/Makefile: ... here. * nptl/eintr.c, tst-align.c tst-align3.c tst-atfork1.c tst-backtrace1.c tst-bad-schedattr.c tst-cancel-self-canceltype.c tst-cancel-self-cleanup.c tst-cancel-self-testcancel.c tst-cancel1.c tst-cancel10.c tst-cancel12.c tst-cancel14.c tst-cancel15.c tst-cancel18.c tst-cancel19.c tst-cancel2.c tst-cancel22.c tst-cancel23.c tst-cancel26.c tst-cancel27.c tst-cancel28.c tst-cancel3.c tst-cancel8.c tst-cancelx1.c tst-cancelx10.c tst-cancelx12.c tst-cancelx14.c tst-cancelx15.c tst-cancelx18.c tst-cancelx2.c tst-cancelx3.c tst-cancelx8.c tst-cleanup0.c tst-cleanup0.expect tst-cleanup1.c tst-cleanup2.c tst-cleanup3.c tst-cleanupx0.c tst-cleanupx0.expect tst-cleanupx1.c tst-cleanupx2.c tst-cleanupx3.c tst-clock1.c tst-create-detached.c tst-detach1.c tst-eintr2.c tst-eintr3.c tst-eintr4.c tst-eintr5.c tst-exec1.c tst-exec2.c tst-exec3.c tst-exit1.c tst-exit2.c tst-exit3.c tst-flock1.c tst-fork1.c tst-fork2.c tst-fork3.c tst-fork4.c tst-getpid3.c tst-kill1.c tst-kill2.c tst-kill3.c tst-kill4.c tst-kill5.c tst-kill6.c tst-locale1.c tst-locale2.c tst-memstream.c tst-popen1.c tst-raise1.c tst-sem5.c tst-setuid3.c tst-signal4.c tst-signal5.c tst-signal6.c tst-signal8.c tst-stack1.c tst-stdio1.c tst-stdio2.c tst-sysconf.c tst-tls1.c tst-tls2.c tst-tsd1.c tst-tsd2.c tst-tsd5.c tst-tsd6.c tst-umask1.c tst-unload.c tst-unwind-thread.c tst-vfork1.c tst-vfork1x.c tst-vfork2.c tst-vfork2x.c: Move tests to... * sysdeps/pthread: ... here. Rename tst-popen1.c -> tst-pt-popen1.c tst-align.c -> tst-pt-align.c tst-align3.c -> tst-pt-align3.c tst-sysconf.c -> tst-pt-sysconf.c tst-tls1.c -> tst-pt-tls1.c tst-tls2.c -> tst-pt-tls2.c tst-vfork1.c -> tst-pt-vfork1.c tst-vfork2.c -> tst-pt-vfork2.c to avoid conflicting with libio/tst-popen1.c, elf/tst-align.c, posix/tst-sysconf.c, elf/tst-tls1.c, elf/tst-tls2.c, posix/tst-vfork1.c, posix/tst-vfork2.c. * nptl/Makefile: Move corresponding tests references and special rules to... * sysdeps/pthread/Makefile: ... here. * sysdeps/pthread/tst-stack1.c (do_test): Do not clamp stack size to PTHREAD_STACK_MIN if not defined. Tested on linux-x86_64 and hurd-i386
-rw-r--r--htl/Makefile9
-rw-r--r--nptl/Makefile118
-rw-r--r--nptl/tst-cond22.c (renamed from sysdeps/pthread/tst-cond22.c)0
-rw-r--r--nptl/tst-cond26.c (renamed from sysdeps/pthread/tst-cond26.c)0
-rw-r--r--sysdeps/pthread/Makefile120
-rw-r--r--sysdeps/pthread/eintr.c (renamed from nptl/eintr.c)0
-rw-r--r--sysdeps/pthread/tst-atfork1.c (renamed from nptl/tst-atfork1.c)0
-rw-r--r--sysdeps/pthread/tst-backtrace1.c (renamed from nptl/tst-backtrace1.c)0
-rw-r--r--sysdeps/pthread/tst-bad-schedattr.c (renamed from nptl/tst-bad-schedattr.c)0
-rw-r--r--sysdeps/pthread/tst-cancel-self-canceltype.c (renamed from nptl/tst-cancel-self-canceltype.c)0
-rw-r--r--sysdeps/pthread/tst-cancel-self-cleanup.c (renamed from nptl/tst-cancel-self-cleanup.c)0
-rw-r--r--sysdeps/pthread/tst-cancel-self-testcancel.c (renamed from nptl/tst-cancel-self-testcancel.c)0
-rw-r--r--sysdeps/pthread/tst-cancel1.c (renamed from nptl/tst-cancel1.c)0
-rw-r--r--sysdeps/pthread/tst-cancel10.c (renamed from nptl/tst-cancel10.c)0
-rw-r--r--sysdeps/pthread/tst-cancel12.c (renamed from nptl/tst-cancel12.c)0
-rw-r--r--sysdeps/pthread/tst-cancel14.c (renamed from nptl/tst-cancel14.c)0
-rw-r--r--sysdeps/pthread/tst-cancel15.c (renamed from nptl/tst-cancel15.c)0
-rw-r--r--sysdeps/pthread/tst-cancel18.c (renamed from nptl/tst-cancel18.c)0
-rw-r--r--sysdeps/pthread/tst-cancel19.c (renamed from nptl/tst-cancel19.c)0
-rw-r--r--sysdeps/pthread/tst-cancel2.c (renamed from nptl/tst-cancel2.c)0
-rw-r--r--sysdeps/pthread/tst-cancel22.c (renamed from nptl/tst-cancel22.c)0
-rw-r--r--sysdeps/pthread/tst-cancel23.c (renamed from nptl/tst-cancel23.c)0
-rw-r--r--sysdeps/pthread/tst-cancel26.c (renamed from nptl/tst-cancel26.c)0
-rw-r--r--sysdeps/pthread/tst-cancel27.c (renamed from nptl/tst-cancel27.c)0
-rw-r--r--sysdeps/pthread/tst-cancel28.c (renamed from nptl/tst-cancel28.c)0
-rw-r--r--sysdeps/pthread/tst-cancel3.c (renamed from nptl/tst-cancel3.c)0
-rw-r--r--sysdeps/pthread/tst-cancel8.c (renamed from nptl/tst-cancel8.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx1.c (renamed from nptl/tst-cancelx1.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx10.c (renamed from nptl/tst-cancelx10.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx12.c (renamed from nptl/tst-cancelx12.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx14.c (renamed from nptl/tst-cancelx14.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx15.c (renamed from nptl/tst-cancelx15.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx18.c (renamed from nptl/tst-cancelx18.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx2.c (renamed from nptl/tst-cancelx2.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx3.c (renamed from nptl/tst-cancelx3.c)0
-rw-r--r--sysdeps/pthread/tst-cancelx8.c (renamed from nptl/tst-cancelx8.c)0
-rw-r--r--sysdeps/pthread/tst-cleanup0.c (renamed from nptl/tst-cleanup0.c)0
-rw-r--r--sysdeps/pthread/tst-cleanup0.expect (renamed from nptl/tst-cleanup0.expect)0
-rw-r--r--sysdeps/pthread/tst-cleanup1.c (renamed from nptl/tst-cleanup1.c)0
-rw-r--r--sysdeps/pthread/tst-cleanup2.c (renamed from nptl/tst-cleanup2.c)0
-rw-r--r--sysdeps/pthread/tst-cleanup3.c (renamed from nptl/tst-cleanup3.c)0
-rw-r--r--sysdeps/pthread/tst-cleanupx0.c (renamed from nptl/tst-cleanupx0.c)0
-rw-r--r--sysdeps/pthread/tst-cleanupx0.expect (renamed from nptl/tst-cleanupx0.expect)0
-rw-r--r--sysdeps/pthread/tst-cleanupx1.c (renamed from nptl/tst-cleanupx1.c)0
-rw-r--r--sysdeps/pthread/tst-cleanupx2.c (renamed from nptl/tst-cleanupx2.c)0
-rw-r--r--sysdeps/pthread/tst-cleanupx3.c (renamed from nptl/tst-cleanupx3.c)0
-rw-r--r--sysdeps/pthread/tst-clock1.c (renamed from nptl/tst-clock1.c)0
-rw-r--r--sysdeps/pthread/tst-create-detached.c (renamed from nptl/tst-create-detached.c)0
-rw-r--r--sysdeps/pthread/tst-detach1.c (renamed from nptl/tst-detach1.c)0
-rw-r--r--sysdeps/pthread/tst-eintr2.c (renamed from nptl/tst-eintr2.c)0
-rw-r--r--sysdeps/pthread/tst-eintr3.c (renamed from nptl/tst-eintr3.c)0
-rw-r--r--sysdeps/pthread/tst-eintr4.c (renamed from nptl/tst-eintr4.c)0
-rw-r--r--sysdeps/pthread/tst-eintr5.c (renamed from nptl/tst-eintr5.c)0
-rw-r--r--sysdeps/pthread/tst-exec1.c (renamed from nptl/tst-exec1.c)0
-rw-r--r--sysdeps/pthread/tst-exec2.c (renamed from nptl/tst-exec2.c)0
-rw-r--r--sysdeps/pthread/tst-exec3.c (renamed from nptl/tst-exec3.c)0
-rw-r--r--sysdeps/pthread/tst-exit1.c (renamed from nptl/tst-exit1.c)0
-rw-r--r--sysdeps/pthread/tst-exit2.c (renamed from nptl/tst-exit2.c)0
-rw-r--r--sysdeps/pthread/tst-exit3.c (renamed from nptl/tst-exit3.c)0
-rw-r--r--sysdeps/pthread/tst-flock1.c (renamed from nptl/tst-flock1.c)0
-rw-r--r--sysdeps/pthread/tst-fork1.c (renamed from nptl/tst-fork1.c)0
-rw-r--r--sysdeps/pthread/tst-fork2.c (renamed from nptl/tst-fork2.c)0
-rw-r--r--sysdeps/pthread/tst-fork3.c (renamed from nptl/tst-fork3.c)0
-rw-r--r--sysdeps/pthread/tst-fork4.c (renamed from nptl/tst-fork4.c)0
-rw-r--r--sysdeps/pthread/tst-getpid3.c (renamed from nptl/tst-getpid3.c)0
-rw-r--r--sysdeps/pthread/tst-kill1.c (renamed from nptl/tst-kill1.c)0
-rw-r--r--sysdeps/pthread/tst-kill2.c (renamed from nptl/tst-kill2.c)0
-rw-r--r--sysdeps/pthread/tst-kill3.c (renamed from nptl/tst-kill3.c)0
-rw-r--r--sysdeps/pthread/tst-kill4.c (renamed from nptl/tst-kill4.c)0
-rw-r--r--sysdeps/pthread/tst-kill5.c (renamed from nptl/tst-kill5.c)0
-rw-r--r--sysdeps/pthread/tst-kill6.c (renamed from nptl/tst-kill6.c)0
-rw-r--r--sysdeps/pthread/tst-locale1.c (renamed from nptl/tst-locale1.c)0
-rw-r--r--sysdeps/pthread/tst-locale2.c (renamed from nptl/tst-locale2.c)0
-rw-r--r--sysdeps/pthread/tst-memstream.c (renamed from nptl/tst-memstream.c)0
-rw-r--r--sysdeps/pthread/tst-pt-align.c (renamed from nptl/tst-align.c)0
-rw-r--r--sysdeps/pthread/tst-pt-align3.c (renamed from nptl/tst-align3.c)0
-rw-r--r--sysdeps/pthread/tst-pt-popen1.c (renamed from nptl/tst-popen1.c)0
-rw-r--r--sysdeps/pthread/tst-pt-sysconf.c (renamed from nptl/tst-sysconf.c)0
-rw-r--r--sysdeps/pthread/tst-pt-tls1.c (renamed from nptl/tst-tls1.c)0
-rw-r--r--sysdeps/pthread/tst-pt-tls2.c (renamed from nptl/tst-tls2.c)0
-rw-r--r--sysdeps/pthread/tst-pt-vfork1.c (renamed from nptl/tst-vfork1.c)0
-rw-r--r--sysdeps/pthread/tst-pt-vfork2.c (renamed from nptl/tst-vfork2.c)0
-rw-r--r--sysdeps/pthread/tst-raise1.c (renamed from nptl/tst-raise1.c)0
-rw