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
This commit is contained in:
olehougaard 2009-01-30 13:21:29 +00:00
parent e633dcb6b0
commit 978c62a42d

View File

@ -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