Reviewers: Michael Starzinger,

Message:
PTAL.

Description:
Remove --crankshaft flag from the test infrastructure.

It has outlived its usefulness as Crankshaft is on by default anyway.


Please review this at https://chromiumcodereview.appspot.com/10539062/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/cctest/cctest.status
  M tools/test-wrapper-gypbuild.py
  M tools/test.py


Index: test/cctest/cctest.status
diff --git a/test/cctest/cctest.status b/test/cctest/cctest.status
index 3cbc3bc45123a16eef43a1a55f7179e12fbfd03a..fc111ab94b5ff24a92f10fab0fea75ca7e896fa9 100644
--- a/test/cctest/cctest.status
+++ b/test/cctest/cctest.status
@@ -76,17 +76,3 @@ test-serialize/DeserializeFromSecondSerializationAndRunScript2: SKIP
 test-serialize/DeserializeAndRunScript2: SKIP
 test-serialize/DeserializeFromSecondSerialization: SKIP

-##############################################################################
-[ $arch == arm && $crankshaft ]
-
-# Tests that time out with crankshaft.
-test-debug/ThreadedDebugging: SKIP
-test-debug/DebugBreakLoop: SKIP
-
-
-##############################################################################
-[ $arch == mips && $crankshaft ]
-
-# Tests that time out with crankshaft.
-test-debug/ThreadedDebugging: SKIP
-test-debug/DebugBreakLoop: SKIP
Index: tools/test-wrapper-gypbuild.py
diff --git a/tools/test-wrapper-gypbuild.py b/tools/test-wrapper-gypbuild.py
index e7012d909bd66f4a1521d475f6065f5ff0b584b4..d99d055e5010e28bd0adae4347e9ea5800041f33 100755
--- a/tools/test-wrapper-gypbuild.py
+++ b/tools/test-wrapper-gypbuild.py
@@ -112,9 +112,6 @@ def BuildOptions():
   result.add_option("--nostress",
help="Don't run crankshaft --always-opt --stress-op test",
                     default=False, action="store_true")
-  result.add_option("--crankshaft",
-                    help="Run with the --crankshaft flag",
-                    default=False, action="store_true")
   result.add_option("--shard-count",
                     help="Split testsuites into this number of shards",
                     default=1, type="int")
@@ -199,8 +196,6 @@ def PassOnOptions(options):
     result += ['--stress-only']
   if options.nostress:
     result += ['--nostress']
-  if options.crankshaft:
-    result += ['--crankshaft']
   if options.shard_count != 1:
     result += ['--shard-count=%s' % options.shard_count]
   if options.shard_run != 1:
Index: tools/test.py
diff --git a/tools/test.py b/tools/test.py
index 0aacd993f3c983ccd0a787c5fc1e9dc48e85495e..5131ad76172997d5e4f47c398771360d8af2cc6f 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -1246,9 +1246,6 @@ def BuildOptions():
   result.add_option("--nostress",
help="Don't run crankshaft --always-opt --stress-op test",
                     default=False, action="store_true")
-  result.add_option("--crankshaft",
-                    help="Run with the --crankshaft flag",
-                    default=False, action="store_true")
   result.add_option("--shard-count",
                     help="Split testsuites into this number of shards",
                     default=1, type="int")
@@ -1300,11 +1297,6 @@ def ProcessOptions(options):
     VARIANT_FLAGS = [['--stress-opt', '--always-opt']]
   if options.nostress:
     VARIANT_FLAGS = [[],['--nocrankshaft']]
-  if options.crankshaft:
-    if options.special_command:
-      options.special_command += " --crankshaft"
-    else:
-      options.special_command = "@ --crankshaft"
   if options.shell.endswith("d8"):
     if options.special_command:
       options.special_command += " --test"
@@ -1493,7 +1485,6 @@ def Main():
         'system': utils.GuessOS(),
         'arch': options.arch,
         'simulator': options.simulator,
-        'crankshaft': options.crankshaft,
         'isolates': options.isolates
       }
       test_list = root.ListTests([], path, context, mode, [])


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to