Index: test/cctest/testcfg.py |
diff --git a/test/cctest/testcfg.py b/test/cctest/testcfg.py |
index 4ab5ab5b7d88ad1e37524da7a08e67a408926c7d..bd93450a97e87e3b184174932fb56cd832dbdfd4 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) |