aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-10 13:35:55 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-10 13:35:55 -0800
commit39278a5af2241f81551f85d79aeec2557de72f69 (patch)
treec9da2ea2ecd68334127b2be93a12afb868a3d8a6 /tests/runner.py
parent4bdc1c2d1db587ab8ac391d7b6e2b80aeaefdad0 (diff)
comment on test suite debugging
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 69ce8107..501299c7 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -798,6 +798,16 @@ an individual test with
python tests/runner.py ALL.test_hello_world
+Debugging: You can run
+
+ EM_SAVE_DIR=1 python tests/runner.py ALL.test_hello_world
+
+in order to save the test runner directory, in /tmp/emscripten_temp. All files
+created by the test will be present there. You can also use EMCC_DEBUG to
+further debug the compiler itself, which works outside of the test suite as
+well: EMCC_DEBUG=1 will emit emcc-* files in that temp dir for each stage
+of the compiler, while EMCC_DEBUG=2 will emit even more files, one for each
+js optimizer phase.
==============================================================================
'''