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

So they can be checked with htl too.
This commit is contained in:
Samuel Thibault 2020-02-09 22:55:12 +00:00
parent e9644c20ce
commit 8a195ec810
15 changed files with 12 additions and 3 deletions

View File

@ -249,9 +249,7 @@ tests = tst-attr2 tst-attr3 tst-default-attr \
tst-rwlock9 tst-rwlock10 tst-rwlock11 tst-rwlock12 \
tst-rwlock14 tst-rwlock15 tst-rwlock17 tst-rwlock18 \
tst-once5 \
tst-sem1 tst-sem2 tst-sem3 tst-sem4 tst-sem5 tst-sem6 tst-sem7 \
tst-sem8 tst-sem9 tst-sem10 tst-sem14 \
tst-sem15 tst-sem16 tst-sem17 \
tst-sem5 tst-sem17 \
tst-barrier1 tst-barrier2 tst-barrier3 tst-barrier4 \
tst-align tst-align3 \
tst-kill1 tst-kill2 tst-kill3 tst-kill4 tst-kill5 tst-kill6 \

View File

@ -111,6 +111,7 @@ test-xfail-tst-cond13 = yes
test-xfail-tst-cond23 = yes
test-xfail-tst-rwlock4 = yes
test-xfail-tst-rwlock12 = yes
test-xfail-tst-sem3 = yes
endif
# For bug 25522
@ -119,6 +120,14 @@ test-xfail-tst-cond24 = yes
test-xfail-tst-cond25 = yes
endif
# For bug 25524
ifeq ($(subdir),htl)
test-xfail-tst-sem4 = yes
test-xfail-tst-sem7 = yes
test-xfail-tst-sem8 = yes
test-xfail-tst-sem9 = yes
endif
ifeq ($(subdir),elf)
# We do use nested functions involving creation of trampolines, notably for
# callbacks whose parameters don't permit to get the context parameters.

View File

@ -55,6 +55,8 @@ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
tst-once1 tst-once2 tst-once3 tst-once4 \
tst-rwlock1 tst-rwlock4 tst-rwlock5 tst-rwlock13 tst-rwlock16 \
tst-rwlock-tryrdlock-stall tst-rwlock-trywrlock-stall \
tst-sem1 tst-sem2 tst-sem3 tst-sem4 tst-sem6 tst-sem7 \
tst-sem8 tst-sem9 tst-sem10 tst-sem14 tst-sem15 tst-sem16 \
tst-spin1 tst-spin2 tst-spin3 tst-spin4
tests += tst-oncex3 tst-oncex4