Reviewers: kasperl,
Description:
Change tools/test.py to use d8 as the standard shell.
Please review this at http://codereview.chromium.org/3410003/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M test/message/testcfg.py
M test/mjsunit/debug-script.js
M test/mjsunit/testcfg.py
M tools/test.py
Index: test/message/testcfg.py
===================================================================
--- test/message/testcfg.py (revision 5449)
+++ test/message/testcfg.py (working copy)
@@ -122,7 +122,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/debug-script.js
===================================================================
--- test/mjsunit/debug-script.js (revision 5449)
+++ test/mjsunit/debug-script.js (working copy)
@@ -52,7 +52,7 @@
}
// This has to be updated if the number of native scripts change.
-assertEquals(14, named_native_count);
+assertEquals(15, named_native_count);
// If no snapshot is used, only the 'gc' extension is loaded.
// If snapshot is used, all extensions are cached in the snapshot.
assertTrue(extension_count == 1 || extension_count == 5);
Index: test/mjsunit/testcfg.py
===================================================================
--- test/mjsunit/testcfg.py (revision 5449)
+++ test/mjsunit/testcfg.py (working copy)
@@ -120,7 +120,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: tools/test.py
===================================================================
--- tools/test.py (revision 5449)
+++ tools/test.py (working copy)
@@ -1158,7 +1158,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("--store-unexpected-output",
help="Store the temporary JS files from tests that fails",
dest="store_unexpected_output", default=True, action="store_true")
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev