Commit 885c88e4 authored by jochen@chromium.org's avatar jochen@chromium.org

Fix mjsunit/debug-script after r16298

TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/23102015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16303 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7557ca80
......@@ -59,9 +59,9 @@ for (i = 0; i < scripts.length; i++) {
}
// This has to be updated if the number of native scripts change.
assertEquals(17, named_native_count);
// Only the 'gc' and (depending on flags) the 'i18n' extensions are loaded.
assertTrue(extension_count == 1 || extension_count == 2);
assertTrue(named_native_count == 16 || named_native_count == 17);
// Only the 'gc' extension is loaded.
assertEquals(1, extension_count);
// This script and mjsunit.js has been loaded. If using d8, d8 loads
// a normal script during startup too.
assertTrue(normal_count == 2 || normal_count == 3);
......
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