From: machenbach@chromium.org Date: Wed, 26 Mar 2014 07:40:32 +0000 (+0000) Subject: Fix test serialization path for windows. X-Git-Tag: upstream/4.7.83~10003 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ed676246bd02b55ef3a2389202daea108526491;p=platform%2Fupstream%2Fv8.git Fix test serialization path for windows. This work-around takes into account that MSVS doesn't build to "out". BUG= R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/202923003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20261 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/test/cctest/testcfg.py b/test/cctest/testcfg.py index 4ab5ab5..bd93450 100644 --- a/test/cctest/testcfg.py +++ b/test/cctest/testcfg.py @@ -38,8 +38,12 @@ class CcTestSuite(testsuite.TestSuite): def __init__(self, name, root): super(CcTestSuite, self).__init__(name, root) + if utils.IsWindows(): + build_dir = "build" + else: + build_dir = "out" self.serdes_dir = os.path.normpath( - os.path.join(root, "..", "..", "out", ".serdes")) + os.path.join(root, "..", "..", build_dir, ".serdes")) if os.path.exists(self.serdes_dir): shutil.rmtree(self.serdes_dir, True) os.makedirs(self.serdes_dir)