diff --git a/tests/tests2/106_pthread.c b/tests/tests2/106_versym.c similarity index 85% rename from tests/tests2/106_pthread.c rename to tests/tests2/106_versym.c index 09308ed0..dcce5089 100644 --- a/tests/tests2/106_pthread.c +++ b/tests/tests2/106_versym.c @@ -9,6 +9,7 @@ main(void) pthread_condattr_t attr; pthread_cond_t condition; + /* This test fails if symbol versioning does not work */ pthread_condattr_init (&attr); pthread_condattr_setpshared (&attr, PTHREAD_PROCESS_SHARED); printf ("%s\n", pthread_cond_init (&condition, &attr) ? "fail":"ok"); diff --git a/tests/tests2/106_pthread.expect b/tests/tests2/106_versym.expect similarity index 100% rename from tests/tests2/106_pthread.expect rename to tests/tests2/106_versym.expect diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index 40d7cce5..aa56d530 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -45,11 +45,11 @@ ifeq (-$(CONFIG_WIN32)-$(CONFIG_i386)$(CONFIG_arm)-,--yes-) SKIP += 95_bitfields%.test # type_align is different on 32bit-non-windows endif ifeq (-$(CONFIG_WIN32)-,-yes-) - SKIP += 106_pthread.test # No pthread support + SKIP += 106_versym.test # No pthread support SKIP += 114_bound_signal.test # No pthread support endif ifneq (,$(filter OpenBSD FreeBSD NetBSD,$(TARGETOS))) - SKIP += 106_pthread.test # no pthread_condattr_setpshared + SKIP += 106_versym.test # no pthread_condattr_setpshared SKIP += 114_bound_signal.test # libc problem signal/fork endif ifeq ($(TARGETOS),NetBSD) @@ -91,8 +91,8 @@ GEN-ALWAYS = 120_alias.test : NORUN = true # this test needs pthread -106_pthread.test: FLAGS += -pthread -106_pthread.test: NORUN = true +106_versym.test: FLAGS += -pthread +106_versym.test: NORUN = true # constructor/destructor 108_constructor.test: NORUN = true