| Index: test/cctest/test-serialize.cc
|
| diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc
|
| index 3072664812e1ed60cecd918ed8e1fbd7c54e1e99..7fc38a802e1174542041ed669ed7ecc7d09de123 100644
|
| --- a/test/cctest/test-serialize.cc
|
| +++ b/test/cctest/test-serialize.cc
|
| @@ -40,21 +40,8 @@
|
| #include "snapshot.h"
|
| #include "cctest.h"
|
|
|
| -namespace v8 { namespace internal {
|
| -
|
| -#ifdef WIN32
|
| -DEFINE_string(serialization_file, "C:\\Windows\\Temp\\serdes",
|
| - "file in which to serialize heap");
|
| -#else
|
| -DEFINE_string(serialization_file, "/tmp/serdes",
|
| - "file in which to serialize heap");
|
| -#endif
|
| -DECLARE_bool(debug_serialization);
|
| -}} // namespace v8::internal
|
| -
|
| using namespace v8::internal;
|
|
|
| -
|
| static int local_counters[256];
|
| static int counter_count = 0;
|
| static std::map<std::wstring, int> counter_table;
|
| @@ -174,7 +161,7 @@ static void Serialize() {
|
| v8::Persistent<v8::Context> env = v8::Context::New(&extensions);
|
| env->Enter();
|
|
|
| - Snapshot::WriteToFile(FLAG_serialization_file);
|
| + Snapshot::WriteToFile(FLAG_testing_serialization_file);
|
| }
|
|
|
|
|
| @@ -218,7 +205,7 @@ static void Deserialize() {
|
| #ifdef DEBUG
|
| FLAG_debug_serialization = true;
|
| #endif
|
| - CHECK(Snapshot::Initialize(FLAG_serialization_file));
|
| + CHECK(Snapshot::Initialize(FLAG_testing_serialization_file));
|
| }
|
|
|
|
|
|
|