mirror of git://sourceware.org/git/glibc.git
Add test cases for BZ #14557
This commit is contained in:
parent
bb859b06dd
commit
1d1b34df90
|
|
@ -1,3 +1,18 @@
|
||||||
|
2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
[BZ #14557]
|
||||||
|
* Makefile (tests-static): Add tst-cancel24-static,
|
||||||
|
tst-cond8-static tst-mutex8-static, tst-mutexpi8-static,
|
||||||
|
tst-sem11-static and tst-sem12-static.
|
||||||
|
(tests): Likewise.
|
||||||
|
(LDLIBS-tst-cancel24-static): New macro.
|
||||||
|
* tst-cancel24-static.cc: New file.
|
||||||
|
* tst-cond8-static.c: Likewise.
|
||||||
|
* tst-mutex8-static.c: Likewise.
|
||||||
|
* tst-mutexpi8-static.c: Likewise.
|
||||||
|
* tst-sem11-static.c: Likewise.
|
||||||
|
* tst-sem12-static.c: Likewise.
|
||||||
|
|
||||||
2012-10-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2012-10-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
[BZ #14417]
|
[BZ #14417]
|
||||||
|
|
|
||||||
|
|
@ -351,8 +351,12 @@ link-libc-static := $(common-objpfx)libc.a $(static-gnulib) \
|
||||||
$(common-objpfx)libc.a
|
$(common-objpfx)libc.a
|
||||||
|
|
||||||
tests-static += tst-locale1 tst-locale2 tst-stackguard1-static \
|
tests-static += tst-locale1 tst-locale2 tst-stackguard1-static \
|
||||||
tst-cancel21-static
|
tst-cancel21-static tst-cancel24-static tst-cond8-static \
|
||||||
tests += tst-stackguard1-static tst-cancel21-static
|
tst-mutex8-static tst-mutexpi8-static tst-sem11-static \
|
||||||
|
tst-sem12-static
|
||||||
|
tests += tst-stackguard1-static tst-cancel21-static tst-cancel24-static \
|
||||||
|
tst-cond8-static tst-mutex8-static tst-mutexpi8-static \
|
||||||
|
tst-sem11-static tst-sem12-static
|
||||||
xtests-static += tst-setuid1-static
|
xtests-static += tst-setuid1-static
|
||||||
|
|
||||||
# These tests are linked with libc before libpthread
|
# These tests are linked with libc before libpthread
|
||||||
|
|
@ -510,6 +514,7 @@ $(objpfx)tst-rwlock14: $(common-objpfx)rt/librt.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDLIBS-tst-cancel24 = $(no-as-needed) -lstdc++
|
LDLIBS-tst-cancel24 = $(no-as-needed) -lstdc++
|
||||||
|
LDLIBS-tst-cancel24-static = $(LDLIBS-tst-cancel24)
|
||||||
|
|
||||||
extra-B-pthread.so = -B$(common-objpfx)nptl/
|
extra-B-pthread.so = -B$(common-objpfx)nptl/
|
||||||
$(objpfx)libpthread.so: $(addprefix $(objpfx),$(crti-objs) $(crtn-objs))
|
$(objpfx)libpthread.so: $(addprefix $(objpfx),$(crti-objs) $(crtn-objs))
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
#include "tst-cancel24.cc"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
#include "tst-cond8.c"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
#include "tst-mutex8.c"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
#include "tst-mutexpi8.c"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
#include "tst-sem11.c"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
#include "tst-sem12.c"
|
||||||
Loading…
Reference in New Issue