Index: libunwind/trunk/test/libunwind/test/config.py =================================================================== --- libunwind/trunk/test/libunwind/test/config.py +++ libunwind/trunk/test/libunwind/test/config.py @@ -21,12 +21,10 @@ self.libcxx_src_root = None def configure_src_root(self): - self.libunwind_src_root = self.get_lit_conf( - 'libunwind_src_root', - os.path.dirname(self.config.test_source_root)) - self.libcxx_src_root = self.get_lit_conf( - 'libcxx_src_root', - os.path.join(self.libunwind_src_root, '/../libcxx')) + self.libunwind_src_root = (self.get_lit_conf('libunwind_src_root') + or os.path.dirname(self.config.test_source_root)) + self.libcxx_src_root = (self.get_lit_conf('libcxx_src_root') + or os.path.join(self.libunwind_src_root, '..', 'libcxx')) def configure_obj_root(self): self.libunwind_obj_root = self.get_lit_conf('libunwind_obj_root')