Commit 950feb69 authored by ricow@chromium.org's avatar ricow@chromium.org

Switch from sample shell to d8 for unit test

Landing for yangguo to coordinate with buildbot update.

Original codereview: http://codereview.chromium.org/7282008/
Review URL: http://codereview.chromium.org/7495033

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8739 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a923a94d
...@@ -91,7 +91,7 @@ class BenchmarkTestConfiguration(test.TestConfiguration): ...@@ -91,7 +91,7 @@ class BenchmarkTestConfiguration(test.TestConfiguration):
return [test] return [test]
def GetBuildRequirements(self): def GetBuildRequirements(self):
return ['sample', 'sample=shell'] return ['d8']
def GetTestStatus(self, sections, defs): def GetTestStatus(self, sections, defs):
pass pass
......
...@@ -97,7 +97,7 @@ class ES5ConformTestConfiguration(test.TestConfiguration): ...@@ -97,7 +97,7 @@ class ES5ConformTestConfiguration(test.TestConfiguration):
return tests return tests
def GetBuildRequirements(self): def GetBuildRequirements(self):
return ['sample', 'sample=shell'] return ['d8']
def GetTestStatus(self, sections, defs): def GetTestStatus(self, sections, defs):
status_file = join(self.root, 'es5conform.status') status_file = join(self.root, 'es5conform.status')
......
...@@ -125,7 +125,7 @@ class MessageTestConfiguration(test.TestConfiguration): ...@@ -125,7 +125,7 @@ class MessageTestConfiguration(test.TestConfiguration):
return result return result
def GetBuildRequirements(self): def GetBuildRequirements(self):
return ['sample', 'sample=shell'] return ['d8']
def GetTestStatus(self, sections, defs): def GetTestStatus(self, sections, defs):
status_file = join(self.root, 'message.status') status_file = join(self.root, 'message.status')
......
...@@ -145,7 +145,7 @@ class MjsunitTestConfiguration(test.TestConfiguration): ...@@ -145,7 +145,7 @@ class MjsunitTestConfiguration(test.TestConfiguration):
return result return result
def GetBuildRequirements(self): def GetBuildRequirements(self):
return ['sample', 'sample=shell'] return ['d8']
def GetTestStatus(self, sections, defs): def GetTestStatus(self, sections, defs):
status_file = join(self.root, 'mjsunit.status') status_file = join(self.root, 'mjsunit.status')
......
...@@ -125,7 +125,7 @@ class MozillaTestConfiguration(test.TestConfiguration): ...@@ -125,7 +125,7 @@ class MozillaTestConfiguration(test.TestConfiguration):
return tests return tests
def GetBuildRequirements(self): def GetBuildRequirements(self):
return ['sample', 'sample=shell'] return ['d8']
def GetTestStatus(self, sections, defs): def GetTestStatus(self, sections, defs):
status_file = join(self.root, 'mozilla.status') status_file = join(self.root, 'mozilla.status')
......
...@@ -101,7 +101,7 @@ class SputnikTestConfiguration(test.TestConfiguration): ...@@ -101,7 +101,7 @@ class SputnikTestConfiguration(test.TestConfiguration):
return result return result
def GetBuildRequirements(self): def GetBuildRequirements(self):
return ['sample', 'sample=shell'] return ['d8']
def GetTestStatus(self, sections, defs): def GetTestStatus(self, sections, defs):
status_file = join(self.root, 'sputnik.status') status_file = join(self.root, 'sputnik.status')
......
...@@ -111,7 +111,7 @@ class Test262TestConfiguration(test.TestConfiguration): ...@@ -111,7 +111,7 @@ class Test262TestConfiguration(test.TestConfiguration):
return tests return tests
def GetBuildRequirements(self): def GetBuildRequirements(self):
return ['sample', 'sample=shell'] return ['d8']
def GetTestStatus(self, sections, defs): def GetTestStatus(self, sections, defs):
status_file = join(self.root, 'test262.status') status_file = join(self.root, 'test262.status')
......
...@@ -1208,7 +1208,7 @@ def BuildOptions(): ...@@ -1208,7 +1208,7 @@ def BuildOptions():
dest="suppress_dialogs", default=True, action="store_true") dest="suppress_dialogs", default=True, action="store_true")
result.add_option("--no-suppress-dialogs", help="Display Windows dialogs for crashing tests", result.add_option("--no-suppress-dialogs", help="Display Windows dialogs for crashing tests",
dest="suppress_dialogs", action="store_false") 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("--isolates", help="Whether to test isolates", default=False, action="store_true")
result.add_option("--store-unexpected-output", result.add_option("--store-unexpected-output",
help="Store the temporary JS files from tests that fails", help="Store the temporary JS files from tests that fails",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment