Fix path to libc++'s python test module

llvm-svn: 294671
This commit is contained in:
Eric Fiselier
2017-02-09 23:58:54 +00:00
parent 0ede22e1c0
commit 11306e5113

View File

@@ -29,7 +29,7 @@ config.test_source_root = os.path.dirname(__file__)
libcxx_src_root = getattr(config, 'libcxx_src_root', None)
if not libcxx_src_root:
libcxx_src_root = os.path.join(config.test_source_root, '../../libcxx')
libcxx_test_src_root = os.path.join(libcxx_src_root, 'test')
libcxx_test_src_root = os.path.join(libcxx_src_root, 'utils')
if os.path.isfile(os.path.join(libcxx_test_src_root, 'libcxx', '__init__.py')):
site.addsitedir(libcxx_test_src_root)
else: