Revision: 23264
Author:   [email protected]
Date:     Thu Aug 21 08:38:14 2014 UTC
Log:      Allow to combine quickcheck and no_variants in test driver.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/489343002
http://code.google.com/p/v8/source/detail?r=23264

Modified:
 /branches/bleeding_edge/tools/run-tests.py

=======================================
--- /branches/bleeding_edge/tools/run-tests.py  Tue Aug 19 10:54:54 2014 UTC
+++ /branches/bleeding_edge/tools/run-tests.py  Thu Aug 21 08:38:14 2014 UTC
@@ -295,10 +295,15 @@
     return reduce(lambda x, y: x + y, args) <= 1

   if not excl(options.no_stress, options.stress_only, options.no_variants,
-              bool(options.variants), options.quickcheck):
+              bool(options.variants)):
     print("Use only one of --no-stress, --stress-only, --no-variants, "
-          "--variants, or --quickcheck.")
+          "or --variants.")
     return False
+  if options.quickcheck:
+    VARIANTS = ["default", "stress"]
+    options.flaky_tests = "skip"
+    options.slow_tests = "skip"
+    options.pass_fail_tests = "skip"
   if options.no_stress:
     VARIANTS = ["default", "nocrankshaft"]
   if options.no_variants:
@@ -310,11 +315,6 @@
     if not set(VARIANTS).issubset(VARIANT_FLAGS.keys()):
       print "All variants must be in %s" % str(VARIANT_FLAGS.keys())
       return False
-  if options.quickcheck:
-    VARIANTS = ["default", "stress"]
-    options.flaky_tests = "skip"
-    options.slow_tests = "skip"
-    options.pass_fail_tests = "skip"
   if options.predictable:
     VARIANTS = ["default"]
     options.extra_flags.append("--predictable")

--
--
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