We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9523fef commit 1946c55Copy full SHA for 1946c55
test/webgpu_basic_rendering.cpp
@@ -42,8 +42,6 @@ void RegisterCheckScopesAtExit() {
42
// (Make sure there's a keepalive for everything the test has scopes for.)
43
// Build with -sEXIT_RUNTIME to trace keepalives.
44
assert(sScopeCount == 0);
45
- // Overwrite the old return code and exit now that everything is done.
46
- exit(0);
47
});
48
}
49
@@ -430,7 +428,7 @@ int main() {
430
428
GetDevice(run);
431
429
432
RegisterCheckScopesAtExit();
433
- // The test result will be reported when all scopes exit.
434
- // If that doesn't happen, this is the fallback return code.
435
- return 99;
+ // This is the return code once all runtime-keepalives have completed
+ // (unless something crashes before then).
+ return 0;
436
0 commit comments