File tree Expand file tree Collapse file tree 5 files changed +31
-1
lines changed Expand file tree Collapse file tree 5 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,12 @@ int main (int argc, char *argv[])
122
122
{
123
123
int ret = 0 ;
124
124
pthread_t child ;
125
-
125
+
126
+ #ifdef __EMSCRIPTEN__
127
+ printf ("Test SKIPPED: semaphores are not currently supported (TODO).\n" );
128
+ exit (0 );
129
+ #endif
130
+
126
131
output_init ();
127
132
128
133
scenar_init ();
Original file line number Diff line number Diff line change 85
85
/********************************************************************************************/
86
86
87
87
/* main is defined in the next file */
88
+ #ifdef __EMSCRIPTEN__
89
+ int main ()
90
+ {
91
+ #ifdef __EMSCRIPTEN__
92
+ printf ("Test SKIPPED: semaphores are not currently supported (TODO).\n" );
93
+ exit (0 );
94
+ #endif
95
+ }
96
+ #else
88
97
#define STD_MAIN
98
+ #endif
89
99
#include "threads_scenarii.c"
90
100
91
101
/* This file will define the following objects:
Original file line number Diff line number Diff line change @@ -173,6 +173,11 @@ int main(int argc, char *argv[])
173
173
void * th_ret ;
174
174
175
175
int i ;
176
+
177
+ #ifdef __EMSCRIPTEN__
178
+ printf ("Test SKIPPED: semaphores are not currently supported (TODO).\n" );
179
+ exit (0 );
180
+ #endif
176
181
177
182
output_init ();
178
183
Original file line number Diff line number Diff line change @@ -178,6 +178,11 @@ int main(int argc, char *argv[])
178
178
void * th_ret ;
179
179
180
180
int i ;
181
+
182
+ #ifdef __EMSCRIPTEN__
183
+ printf ("Test SKIPPED: semaphores are not currently supported (TODO).\n" );
184
+ exit (0 );
185
+ #endif
181
186
182
187
output_init ();
183
188
#if VERBOSE > 1
Original file line number Diff line number Diff line change @@ -145,6 +145,11 @@ int main(int argc, char * argv[])
145
145
146
146
output_init ();
147
147
148
+ #ifdef __EMSCRIPTEN__
149
+ printf ("Test SKIPPED: semaphores are not currently supported (TODO).\n" );
150
+ exit (0 );
151
+ #endif
152
+
148
153
#if VERBOSE > 1
149
154
output ("Initialize the PTHREAD_MUTEX_RECURSIVE mutex\n" );
150
155
#endif
You can’t perform that action at this time.
0 commit comments