Skip to content

Commit 70966e3

Browse files
committed
Print before reporting result
Might resolve the flaky wasm2js1.test_pthread_c11_threads test.
1 parent e7e3b37 commit 70966e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pthread/test_pthread_c11_threads.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ int main(int argc, char* argv[]) {
5858
thrd_create(&t6, thread_main, NULL);
5959
thrd_detach(t6);
6060

61+
printf("done!\n");
6162
#ifdef REPORT_RESULT
6263
REPORT_RESULT(0);
6364
#endif
64-
printf("done!\n");
6565
return 0;
6666
}

0 commit comments

Comments
 (0)