Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index 48682d4444e586c8b48b1c146898b0dc17468ba8..d023cf1fbaaacab83806a0bdf2b8177e48fe9ef1 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -112,6 +112,9 @@ def BuildOptions(): |
result.add_option("-m", "--mode", |
help="The test modes in which to run (comma-separated)", |
default="release,debug") |
+ result.add_option("--no-i18n", "--noi18n", |
+ help="Skip internationalization tests", |
+ default=False, action="store_true") |
result.add_option("--no-network", "--nonetwork", |
help="Don't distribute tests on the network", |
default=(utils.GuessOS() != "linux"), |
@@ -210,6 +213,8 @@ def ProcessOptions(options): |
if not options.flaky_tests in ["run", "skip", "dontcare"]: |
print "Unknown flaky test mode %s" % options.flaky_tests |
return False |
+ if not options.no_i18n: |
+ DEFAULT_TESTS.append("intl") |
return True |