Skip to content

Commit 8de01db

Browse files
committed
Skip test pthread_cond_init/4-2.c since Emscripten does not support signals.
1 parent de23924 commit 8de01db

File tree

1 file changed

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

1 file changed

+6
-1
lines changed

conformance/interfaces/pthread_cond_init/4-2.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ int main (int argc, char * argv[])
237237
int ret;
238238
pthread_t th_work, th_sig1, th_sig2;
239239
thestruct arg1, arg2;
240-
240+
241+
#ifdef __EMSCRIPTEN__
242+
printf("Test SKIPPED: signals are not supported in Emscripten.\n");
243+
exit(0);
244+
#endif
245+
241246
output_init();
242247

243248
#ifdef WITH_SYNCHRO

0 commit comments

Comments
 (0)