Skip to content

Commit 8dc2512

Browse files
committed
Skip tests pthread_cond_wait/4-1.c in Emscripten since it does not support signals.
1 parent d17f717 commit 8dc2512

File tree

1 file changed

+6
-1
lines changed
  • conformance/interfaces/pthread_cond_wait

1 file changed

+6
-1
lines changed

conformance/interfaces/pthread_cond_wait/4-1.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,12 @@ int main (int argc, char * argv[])
234234
pthread_t th_waiter, th_worker, th_sig1, th_sig2;
235235
thestruct arg1, arg2;
236236
struct sigaction sa;
237-
237+
238+
#ifdef __EMSCRIPTEN__
239+
printf("Test SKIPPED: signals are not supported in Emscripten.\n");
240+
exit(0);
241+
#endif
242+
238243
output_init();
239244

240245
/* We need to register the signal handlers for the PROCESS */

0 commit comments

Comments
 (0)