Reviewers: Michael Achenbach,

Description:
Teach the test runner whether it's running on a trybot or not

BUG=none
[email protected]
LOG=n

Please review this at https://codereview.chromium.org/781763002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+4, -0 lines):
  M tools/run-tests.py


Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index d793a8ae71532f33c88640b6892621e5ca6b9321..9a8100890d0674dddc5c497b2f4e0a06378b1c05 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -141,6 +141,9 @@ def BuildOptions():
   result.add_option("--buildbot",
                     help="Adapt to path structure used on buildbots",
                     default=False, action="store_true")
+  result.add_option("--trybot",
+                    help="Indicates that tests are executed on a trybot",
+                    default=False, action="store_true")
   result.add_option("--cat", help="Print the source of the tests",
                     default=False, action="store_true")
   result.add_option("--flaky-tests",
@@ -508,6 +511,7 @@ def Execute(arch, mode, args, options, suites, workspace):
     "system": utils.GuessOS(),
     "tsan": options.tsan,
     "msan": options.msan,
+    "trybot": options.trybot,
   }
   all_tests = []
   num_tests = 0


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to