diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-06-17 10:45:49 +0300 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-24 16:56:45 -0700 |
commit | a4f4ce25e5f38e89001fcc17f5b0bad503132926 (patch) | |
tree | 5e7705d2df80654ead1445c761a9b3e04f14e626 | |
parent | cc19844b5117539c197f19564c04f104df8d9ee8 (diff) |
Allow compiling the sdl_audio_beep.cpp sample outside the browser test harness.
-rw-r--r-- | tests/sdl_audio_beep.cpp | 2 |
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; } } |