| Index: test/cctest/test-log.cc
|
| ===================================================================
|
| --- test/cctest/test-log.cc (revision 8834)
|
| +++ test/cctest/test-log.cc (working copy)
|
| @@ -29,6 +29,7 @@
|
| // Log to memory buffer.
|
| i::FLAG_logfile = "*";
|
| i::FLAG_log = true;
|
| + ISOLATE->InitializeLoggingAndCounters();
|
| LOGGER->Setup();
|
| }
|
|
|
| @@ -120,6 +121,7 @@
|
| // Log to stdout
|
| i::FLAG_logfile = "-";
|
| i::FLAG_log = true;
|
| + ISOLATE->InitializeLoggingAndCounters();
|
| LOGGER->Setup();
|
| CHECK_EQ(0, LOGGER->GetLogLines(0, NULL, 0));
|
| CHECK_EQ(0, LOGGER->GetLogLines(100, NULL, 0));
|
|
|