Skip to content

Commit 22a35f2

Browse files
committed
Skip pthread_cond_signal/4-2.c on Emscripten since it does not support signals.
1 parent 633b499 commit 22a35f2

File tree

1 file changed

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

1 file changed

+6
-1
lines changed

conformance/interfaces/pthread_cond_signal/4-2.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,12 @@ int main (int argc, char * argv[])
211211
pthread_t th_waiter, th_worker, th_sig1, th_sig2;
212212
thestruct arg1, arg2;
213213
struct sigaction sa;
214-
214+
215+
#ifdef __EMSCRIPTEN__
216+
printf("Test SKIPPED: signals are not supported in Emscripten.\n");
217+
exit(0);
218+
#endif
219+
215220
output_init();
216221

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

0 commit comments

Comments
 (0)