Index: test/cctest/testcfg.py |
diff --git a/test/cctest/testcfg.py b/test/cctest/testcfg.py |
index b2eabc44ebe47944afeb77d910a17b7ca7a3b7d3..f1387e8a4f3262b0eeed3c20f87119a92a7b13c9 100644 |
--- a/test/cctest/testcfg.py |
+++ b/test/cctest/testcfg.py |
@@ -53,6 +53,8 @@ class CcTestCase(test.TestCase): |
serialization_file = join('obj', 'test', self.mode, 'serdes') |
else: |
serialization_file = join('obj', 'serdes') |
+ if not exists(join(self.context.buildspace, 'obj')): |
+ os.makedirs(join(self.context.buildspace, 'obj')) |
serialization_file += '_' + self.GetName() |
serialization_file = join(self.context.buildspace, serialization_file) |
serialization_file += ''.join(self.variant_flags).replace('-', '_') |