aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/sdl_audio_beep.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sdl_audio_beep.cpp b/tests/sdl_audio_beep.cpp
index 61011a60..fa8b0a36 100644
--- a/tests/sdl_audio_beep.cpp
+++ b/tests/sdl_audio_beep.cpp
@@ -172,9 +172,11 @@ void nextTest(void *unused = 0) {
printf("All tests done. Quit.\n");
#ifdef EMSCRIPTEN
emscripten_cancel_main_loop();
+#ifdef REPORT_RESULT
int result = 1;
REPORT_RESULT();
#endif
+#endif
return;
}
}