aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-09 12:25:30 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-09 12:25:30 -0700
commit1e5ce6cb081d93efc761b1f70b0d0a43e1f27ca0 (patch)
tree796192871b534cfb3bd3f1d945a6e9d3f89a9100
parent5b7689b6dbdb2ea5d9171220be29e6beafb4d95f (diff)
clarify test runner instructions
-rwxr-xr-xtests/runner.py22
1 files changed, 21 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 38b9052e..d16d3e8b 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -19,11 +19,31 @@ import os, unittest, tempfile, shutil, time, inspect, sys, math, glob, tempfile,
if len(sys.argv) == 1:
print '''
+==============================================================================
Running the main part of the test suite. Don't forget to run the other parts!
sanity - tests for first run, etc., modifies ~/.emscripten
- benchmark - run before and after each set of changes before pushing to master, verify no regressions
+ benchmark - run before and after each set of changes before pushing to
+ master, verify no regressions
browser - runs pages in a web browser
+
+To run one of those parts, do something like
+
+ python tests/runner.py sanity
+
+To run a specific set of tests, you can do things like
+
+ python tests/runner.py o1
+
+(that runs the o1 (-O1) tests). You can run individual tests with
+
+ python tests/runner.py test_hello_world
+
+Combinations work too, for example
+
+ python tests/runner.py browser.test_sdl_image
+==============================================================================
+
'''
time.sleep(2)