From 978c62a42db5bec83418566789903e9b98da78a6 Mon Sep 17 00:00:00 2001 From: olehougaard Date: Fri, 30 Jan 2009 13:21:29 +0000 Subject: [PATCH] Placing the snapshot in local directory for serialization test to avoid problems with permissions and multiple processes using same file. Review URL: http://codereview.chromium.org/19503 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1196 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/testcfg.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/cctest/testcfg.py b/test/cctest/testcfg.py index 72f7d746ae..b6ee4534cc 100644 --- a/test/cctest/testcfg.py +++ b/test/cctest/testcfg.py @@ -49,7 +49,9 @@ class CcTestCase(test.TestCase): return self.path[-1] def GetCommand(self): - result = [ self.executable, self.raw_name ] + serialization_file = join('obj', 'test', self.mode, 'serdes') + serialization_option = '--testing_serialization_file=' + serialization_file + result = [ self.executable, self.raw_name, serialization_option ] if self.mode == 'debug': result += DEBUG_FLAGS return result