Skip to content

Commit 01c9e9e

Browse files
committed
Move skipped test cases to Emscripten
1 parent d8b4410 commit 01c9e9e

File tree

80 files changed

+0
-404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+0
-404
lines changed

conformance/interfaces/pthread_atfork/1-1.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ static void child_handler()
5858

5959
int main ()
6060
{
61-
#ifdef __EMSCRIPTEN__
62-
printf("Test SKIPPED: multiple processes and fork() is not supported in Emscripten.\n");
63-
exit(0);
64-
#endif
6561
pid_t pid;
6662

6763
/* Initialize values */

conformance/interfaces/pthread_atfork/1-2.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,6 @@ int main( int argc, char * argv[] )
191191
{
192192
int ret;
193193

194-
#ifdef __EMSCRIPTEN__
195-
printf("Test SKIPPED: multiple processes and fork() is not supported in Emscripten.\n");
196-
exit(0);
197-
#endif
198-
199194
/* Initialize output */
200195
output_init();
201196

conformance/interfaces/pthread_atfork/2-1.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ int main ()
3131
pid_t pid;
3232
int ret;
3333

34-
#ifdef __EMSCRIPTEN__
35-
printf("Test SKIPPED: multiple processes and fork() is not supported in Emscripten.\n");
36-
exit(0);
37-
#endif
38-
3934
/* Set up the fork handlers */
4035
ret = pthread_atfork(NULL, NULL, NULL);
4136
if(ret != 0)

conformance/interfaces/pthread_atfork/2-2.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,6 @@ int main( int argc, char * argv[] )
219219
int ret;
220220
pthread_t ch;
221221

222-
#ifdef __EMSCRIPTEN__
223-
printf("Test SKIPPED: multiple processes and fork() is not supported in Emscripten.\n");
224-
exit(0);
225-
#endif
226-
227222
/* Initialize output */
228223
output_init();
229224

conformance/interfaces/pthread_atfork/3-2.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,6 @@ int main( int argc, char * argv[] )
180180
int ret, i;
181181
pthread_t ch;
182182

183-
#ifdef __EMSCRIPTEN__
184-
printf("Test SKIPPED: multiple processes and fork() is not supported in Emscripten.\n");
185-
exit(0);
186-
#endif
187-
188183
/* Initialize output */
189184
output_init();
190185

conformance/interfaces/pthread_atfork/4-1.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,6 @@ int main( int argc, char * argv[] )
219219
int ret;
220220
pthread_t ch;
221221

222-
#ifdef __EMSCRIPTEN__
223-
printf("Test SKIPPED: multiple processes and fork() is not supported in Emscripten.\n");
224-
exit(0);
225-
#endif
226-
227222
/* Initialize output */
228223
output_init();
229224

conformance/interfaces/pthread_barrier_wait/3-1.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ int main()
8383
pthread_t child_thread;
8484
sig_rcvd = 0;
8585

86-
#ifdef __EMSCRIPTEN__
87-
printf("Test SKIPPED: signals are not supported in Emscripten.\n");
88-
exit(0);
89-
#endif
90-
9186
printf("Initialize barrier with count = 2\n");
9287
if(pthread_barrier_init(&barrier, NULL, 2) != 0)
9388
{

conformance/interfaces/pthread_barrier_wait/3-2.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ int main()
9090
pthread_t child_thread;
9191
sig_rcvd = 0;
9292
barrier_waited = 0;
93-
94-
#ifdef __EMSCRIPTEN__
95-
printf("Test SKIPPED: signals are not supported in Emscripten.\n");
96-
exit(0);
97-
#endif
9893

9994
printf("Initialize barrier with count = 2\n");
10095
if(pthread_barrier_init(&barrier, NULL, 2) != 0)

conformance/interfaces/pthread_barrierattr_getpshared/2-1.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ int main()
6262
pthread_barrierattr_t ba;
6363
int pshared = PTHREAD_PROCESS_SHARED;
6464

65-
#ifdef __EMSCRIPTEN__
66-
printf("Test SKIPPED: Emscripten does not support shm_open and shm_unlink.\n");
67-
exit(0);
68-
#endif
69-
7065
char shm_name[] = "tmp_pthread_barrierattr_getpshared";
7166
int shm_fd;
7267
int pid;

conformance/interfaces/pthread_cancel/5-2.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,6 @@ int main ( int argc, char * argv[] )
239239

240240
struct sigaction sa;
241241

242-
#ifdef __EMSCRIPTEN__
243-
printf("Test SKIPPED: signals are not supported in Emscripten.\n");
244-
exit(0);
245-
#endif
246-
247242
/* Initialize output routine */
248243
output_init();
249244

0 commit comments

Comments
 (0)