History

rename testcase 106

herman ten brugge committed 5 years ago

Commit 7eea5301 parent 7f898ab3 files · +5 −4Browse files

Unified · Split

3 files
  1. tests/tests2/106_versym.c +1 −0
  2. tests/tests2/106_versym.expect +0 −0
  3. tests/tests2/Makefile +4 −4
tests/tests2/106_versym.crenamed from tests/tests2/106_pthread.c+1−0
@@ -9,6 +9,7 @@ main(void) · 8 unmodified lines
99 pthread_condattr_t attr;
1010 pthread_cond_t condition;
1111
12+ /* This test fails if symbol versioning does not work */
1213 pthread_condattr_init (&attr);
1314 pthread_condattr_setpshared (&attr, PTHREAD_PROCESS_SHARED);
1415 printf ("%s\n", pthread_cond_init (&condition, &attr) ? "fail":"ok");
tests/tests2/106_versym.expectrenamed from tests/tests2/106_pthread.expect+0−0

File renamed without changes.

tests/tests2/Makefile+4−4
@@ -45,11 +45,11 @@ ifeq (-$(CONFIG_WIN32)-$(CONFIG_i386)$(CONFIG_arm)-,--yes-) · 44 unmodified lines
4545 SKIP += 95_bitfields%.test # type_align is different on 32bit-non-windows
4646 endif
4747 ifeq (-$(CONFIG_WIN32)-,-yes-)
48− SKIP += 106_pthread.test # No pthread support
48+ SKIP += 106_versym.test # No pthread support
4949 SKIP += 114_bound_signal.test # No pthread support
5050 endif
5151 ifneq (,$(filter OpenBSD FreeBSD NetBSD,$(TARGETOS)))
52− SKIP += 106_pthread.test # no pthread_condattr_setpshared
52+ SKIP += 106_versym.test # no pthread_condattr_setpshared
5353 SKIP += 114_bound_signal.test # libc problem signal/fork
5454 endif
5555 ifeq ($(TARGETOS),NetBSD)
@@ -91,8 +91,8 @@ GEN-ALWAYS = · 35 unmodified lines
9191 120_alias.test : NORUN = true
9292
9393 # this test needs pthread
94−106_pthread.test: FLAGS += -pthread
95−106_pthread.test: NORUN = true
94+106_versym.test: FLAGS += -pthread
95+106_versym.test: NORUN = true
9696
9797 # constructor/destructor
9898 108_constructor.test: NORUN = true

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t