MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / FinishTest

Function FinishTest

test/pthread/test_pthread_run_script.c:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <emscripten/threading.h>
9
10EMSCRIPTEN_KEEPALIVE void FinishTest(int result) {
11 printf("Test finished, result: %d\n", result);
12 assert(result == 1);
13 exit(0);
14}
15
16void TestAsyncRunScript() {
17 // 5. Test emscripten_async_run_script() runs in a pthread.

Callers

nothing calls this directly

Calls 3

printfFunction · 0.85
assertFunction · 0.50
exitFunction · 0.50

Tested by

no test coverage detected