Skip to content
Alon Zakai edited this page Feb 11, 2014 · 13 revisions

This page is for people working on Emscripten itself, as opposed to those that use Emscripten on their own projects. If you are just using Emscripten, you probably don't need to know this stuff (but it might help out sometime too).

Basic useful stuff

Here are some example commands for the test suite, with comments explaining what they do

python tests/runner.py test_hello_world         # run hello world test, in default mode
python tests/runner.py asm1.test_hello_world    # run it in asm1 mode (see test_core.py end for definition)
python tests/runner.py ALL.test_hello_world     # run it in all modes
python tests/runner.py asm1                     # run all (core) tests in asm1 mode
python tests/runner.py                          # run all (core) tests

python tests/runner.py other                    # run "other" tests - that have no mode
python tests/runner.py other.test_static_link   # run a specific test in "other"

python tests/runner.py browser                  # run browser tests
python tests/runner.py browser.test_sdlglshader # run a specific browser test

python tests/runner.py sockets                  # run network tests. sockets.test_... works too

python tests/runner.py sanity                   # run sanity tests. sanity.test_... works too

python tests/runner.py benchmark                # run benchmarks. benchmark.test_... works too