Unified · Split
| @@ -9,6 +9,7 @@ main(void) · 8 unmodified lines | |||
| 9 | pthread_condattr_t attr; | 9 | pthread_condattr_t attr; |
| 10 | pthread_cond_t condition; | 10 | pthread_cond_t condition; |
| 11 | 11 | ||
| 12 | /* This test fails if symbol versioning does not work */ | ||
| 12 | pthread_condattr_init (&attr); | 13 | pthread_condattr_init (&attr); |
| 13 | pthread_condattr_setpshared (&attr, PTHREAD_PROCESS_SHARED); | 14 | pthread_condattr_setpshared (&attr, PTHREAD_PROCESS_SHARED); |
| 14 | printf ("%s\n", pthread_cond_init (&condition, &attr) ? "fail":"ok"); | 15 | printf ("%s\n", pthread_cond_init (&condition, &attr) ? "fail":"ok"); |
File renamed without changes.
| @@ -45,11 +45,11 @@ ifeq (-$(CONFIG_WIN32)-$(CONFIG_i386)$(CONFIG_arm)-,--yes-) · 44 unmodified lines | |||
| 45 | SKIP += 95_bitfields%.test # type_align is different on 32bit-non-windows | 45 | SKIP += 95_bitfields%.test # type_align is different on 32bit-non-windows |
| 46 | endif | 46 | endif |
| 47 | ifeq (-$(CONFIG_WIN32)-,-yes-) | 47 | ifeq (-$(CONFIG_WIN32)-,-yes-) |
| 48 | SKIP += 106_pthread.test # No pthread support | 48 | SKIP += 106_versym.test # No pthread support |
| 49 | SKIP += 114_bound_signal.test # No pthread support | 49 | SKIP += 114_bound_signal.test # No pthread support |
| 50 | endif | 50 | endif |
| 51 | ifneq (,$(filter OpenBSD FreeBSD NetBSD,$(TARGETOS))) | 51 | ifneq (,$(filter OpenBSD FreeBSD NetBSD,$(TARGETOS))) |
| 52 | SKIP += 106_pthread.test # no pthread_condattr_setpshared | 52 | SKIP += 106_versym.test # no pthread_condattr_setpshared |
| 53 | SKIP += 114_bound_signal.test # libc problem signal/fork | 53 | SKIP += 114_bound_signal.test # libc problem signal/fork |
| 54 | endif | 54 | endif |
| 55 | ifeq ($(TARGETOS),NetBSD) | 55 | ifeq ($(TARGETOS),NetBSD) |
| @@ -91,8 +91,8 @@ GEN-ALWAYS = · 35 unmodified lines | |||
| 91 | 120_alias.test : NORUN = true | 91 | 120_alias.test : NORUN = true |
| 92 | 92 | ||
| 93 | # this test needs pthread | 93 | # this test needs pthread |
| 94 | 106_pthread.test: FLAGS += -pthread | 94 | 106_versym.test: FLAGS += -pthread |
| 95 | 106_pthread.test: NORUN = true | 95 | 106_versym.test: NORUN = true |
| 96 | 96 | ||
| 97 | # constructor/destructor | 97 | # constructor/destructor |
| 98 | 108_constructor.test: NORUN = true | 98 | 108_constructor.test: NORUN = true |