pthread: Move most mutex tests from nptl to sysdeps/pthread

So they can be checked with htl too.

XFAIL tst-mutex4, for which support is still missing in htl.
This commit is contained in:
Samuel Thibault 2020-02-09 17:15:47 +00:00
parent 71d52ac4d6
commit 74159dc58a
10 changed files with 8 additions and 3 deletions

View File

@ -235,8 +235,7 @@ CFLAGS-tst-minstack-throw.o = -std=gnu++11
LDLIBS-tst-minstack-throw = -lstdc++ LDLIBS-tst-minstack-throw = -lstdc++
tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \ tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \
tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex5 tst-mutex6 \ tst-mutex5 tst-mutex7 tst-mutex9 tst-mutex11 tst-mutex5a tst-mutex7a \
tst-mutex7 tst-mutex9 tst-mutex10 tst-mutex11 tst-mutex5a tst-mutex7a \
tst-mutex7robust tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 \ tst-mutex7robust tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 \
tst-mutexpi5 tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a \ tst-mutexpi5 tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a \
tst-mutexpi9 \ tst-mutexpi9 \

View File

@ -101,6 +101,11 @@ ifeq ($(subdir),mach)
test-xfail-check-abi-libmachuser = yes test-xfail-check-abi-libmachuser = yes
endif endif
# For bug 25521
ifeq ($(subdir),htl)
test-xfail-tst-mutex4 = yes
endif
ifeq ($(subdir),elf) ifeq ($(subdir),elf)
# We do use nested functions involving creation of trampolines, notably for # We do use nested functions involving creation of trampolines, notably for
# callbacks whose parameters don't permit to get the context parameters. # callbacks whose parameters don't permit to get the context parameters.

View File

@ -44,6 +44,7 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
tst-mtx-recursive tst-tss-basic tst-call-once tst-mtx-timedlock \ tst-mtx-recursive tst-tss-basic tst-call-once tst-mtx-timedlock \
tst-basic1 tst-basic2 tst-basic3 tst-basic4 tst-basic5 tst-basic6 \ tst-basic1 tst-basic2 tst-basic3 tst-basic4 tst-basic5 tst-basic6 \
tst-basic7 \ tst-basic7 \
tst-spin1 tst-spin2 tst-spin3 tst-spin4 \ tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex6 tst-mutex10 \
tst-spin1 tst-spin2 tst-spin3 tst-spin4
endif endif