Reviewers: yangguo,

Message:
TBR: yangguo

Description:
Switch from sample shell to d8 for unit test

Landing for yangguo to coordinate with buildbot update.

Original codereview: http://codereview.chromium.org/7282008/

Please review this at http://codereview.chromium.org/7495033/

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

Affected files:
  M     test/benchmarks/testcfg.py
  M     test/es5conform/testcfg.py
  M     test/message/testcfg.py
  M     test/mjsunit/testcfg.py
  M     test/mozilla/testcfg.py
  M     test/sputnik/testcfg.py
  M     test/test262/testcfg.py
  M     tools/test.py


Index: test/benchmarks/testcfg.py
===================================================================
--- test/benchmarks/testcfg.py  (revision 8738)
+++ test/benchmarks/testcfg.py  (working copy)
@@ -91,7 +91,7 @@
     return [test]

   def GetBuildRequirements(self):
-    return ['sample', 'sample=shell']
+    return ['d8']

   def GetTestStatus(self, sections, defs):
     pass
Index: test/es5conform/testcfg.py
===================================================================
--- test/es5conform/testcfg.py  (revision 8738)
+++ test/es5conform/testcfg.py  (working copy)
@@ -97,7 +97,7 @@
     return tests

   def GetBuildRequirements(self):
-    return ['sample', 'sample=shell']
+    return ['d8']

   def GetTestStatus(self, sections, defs):
     status_file = join(self.root, 'es5conform.status')
Index: test/message/testcfg.py
===================================================================
--- test/message/testcfg.py     (revision 8738)
+++ test/message/testcfg.py     (working copy)
@@ -125,7 +125,7 @@
     return result

   def GetBuildRequirements(self):
-    return ['sample', 'sample=shell']
+    return ['d8']

   def GetTestStatus(self, sections, defs):
     status_file = join(self.root, 'message.status')
Index: test/mjsunit/testcfg.py
===================================================================
--- test/mjsunit/testcfg.py     (revision 8738)
+++ test/mjsunit/testcfg.py     (working copy)
@@ -145,7 +145,7 @@
     return result

   def GetBuildRequirements(self):
-    return ['sample', 'sample=shell']
+    return ['d8']

   def GetTestStatus(self, sections, defs):
     status_file = join(self.root, 'mjsunit.status')
Index: test/mozilla/testcfg.py
===================================================================
--- test/mozilla/testcfg.py     (revision 8738)
+++ test/mozilla/testcfg.py     (working copy)
@@ -125,7 +125,7 @@
     return tests

   def GetBuildRequirements(self):
-    return ['sample', 'sample=shell']
+    return ['d8']

   def GetTestStatus(self, sections, defs):
     status_file = join(self.root, 'mozilla.status')
Index: test/sputnik/testcfg.py
===================================================================
--- test/sputnik/testcfg.py     (revision 8738)
+++ test/sputnik/testcfg.py     (working copy)
@@ -101,7 +101,7 @@
     return result

   def GetBuildRequirements(self):
-    return ['sample', 'sample=shell']
+    return ['d8']

   def GetTestStatus(self, sections, defs):
     status_file = join(self.root, 'sputnik.status')
Index: test/test262/testcfg.py
===================================================================
--- test/test262/testcfg.py     (revision 8738)
+++ test/test262/testcfg.py     (working copy)
@@ -111,7 +111,7 @@
     return tests

   def GetBuildRequirements(self):
-    return ['sample', 'sample=shell']
+    return ['d8']

   def GetTestStatus(self, sections, defs):
     status_file = join(self.root, 'test262.status')
Index: tools/test.py
===================================================================
--- tools/test.py       (revision 8738)
+++ tools/test.py       (working copy)
@@ -1208,7 +1208,7 @@
         dest="suppress_dialogs", default=True, action="store_true")
result.add_option("--no-suppress-dialogs", help="Display Windows dialogs for crashing tests",
         dest="suppress_dialogs", action="store_false")
-  result.add_option("--shell", help="Path to V8 shell", default="shell")
+  result.add_option("--shell", help="Path to V8 shell", default="d8")
result.add_option("--isolates", help="Whether to test isolates", default=False, action="store_true")
   result.add_option("--store-unexpected-output",
       help="Store the temporary JS files from tests that fails",


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

Reply via email to