| Index: test/cctest/test-parsing.cc
|
| ===================================================================
|
| --- test/cctest/test-parsing.cc (revision 8834)
|
| +++ test/cctest/test-parsing.cc (working copy)
|
| @@ -134,6 +134,8 @@
|
|
|
|
|
| TEST(ScanHTMLEndComments) {
|
| + v8::V8::Initialize();
|
| +
|
| // Regression test. See:
|
| // http://code.google.com/p/chromium/issues/detail?id=53548
|
| // Tests that --> is correctly interpreted as comment-to-end-of-line if there
|
| @@ -245,6 +247,8 @@
|
|
|
|
|
| TEST(StandAlonePreParser) {
|
| + v8::V8::Initialize();
|
| +
|
| int marker;
|
| i::Isolate::Current()->stack_guard()->SetStackLimit(
|
| reinterpret_cast<uintptr_t>(&marker) - 128 * 1024);
|
| @@ -281,6 +285,8 @@
|
|
|
|
|
| TEST(RegressChromium62639) {
|
| + v8::V8::Initialize();
|
| +
|
| int marker;
|
| i::Isolate::Current()->stack_guard()->SetStackLimit(
|
| reinterpret_cast<uintptr_t>(&marker) - 128 * 1024);
|
| @@ -302,6 +308,8 @@
|
|
|
|
|
| TEST(Regress928) {
|
| + v8::V8::Initialize();
|
| +
|
| // Preparsing didn't consider the catch clause of a try statement
|
| // as with-content, which made it assume that a function inside
|
| // the block could be lazily compiled, and an extra, unexpected,
|
| @@ -342,6 +350,8 @@
|
|
|
|
|
| TEST(PreParseOverflow) {
|
| + v8::V8::Initialize();
|
| +
|
| int marker;
|
| i::Isolate::Current()->stack_guard()->SetStackLimit(
|
| reinterpret_cast<uintptr_t>(&marker) - 128 * 1024);
|
| @@ -592,6 +602,8 @@
|
| }
|
|
|
| TEST(StreamScanner) {
|
| + v8::V8::Initialize();
|
| +
|
| const char* str1 = "{ foo get for : */ <- \n\n /*foo*/ bib";
|
| i::Utf8ToUC16CharacterStream stream1(reinterpret_cast<const i::byte*>(str1),
|
| static_cast<unsigned>(strlen(str1)));
|
| @@ -672,6 +684,8 @@
|
|
|
|
|
| TEST(RegExpScanning) {
|
| + v8::V8::Initialize();
|
| +
|
| // RegExp token with added garbage at the end. The scanner should only
|
| // scan the RegExp until the terminating slash just before "flipperwald".
|
| TestScanRegExp("/b/flipperwald", "b");
|
|
|