diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-05-09 21:36:08 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-05-09 21:36:08 -0700 |
commit | a7ef69ec6fd292e2252424743b0a0dc9ed67f89f (patch) | |
tree | 1dcce3efe4b46c68c3a1dfb3625e6b1b2c6d6701 /tests/pre_run_deps.cpp | |
parent | bb9317e1eb68a975cb9462d0cd61c62ff6061a49 (diff) |
allow adding runDependencies in preRun
Diffstat (limited to 'tests/pre_run_deps.cpp')
-rw-r--r-- | tests/pre_run_deps.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pre_run_deps.cpp b/tests/pre_run_deps.cpp new file mode 100644 index 00000000..41c06972 --- /dev/null +++ b/tests/pre_run_deps.cpp @@ -0,0 +1,10 @@ +#include <stdio.h> +#include <emscripten.h> + +int main() { + printf("main() called.\n"); + int result = emscripten_run_script_int("Module.okk"); + REPORT_RESULT(); + return 1; +} + |