[libcxx-commits] [libcxx] 9c2c698 - [libc++] Add missing sitedir to local Lit config

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 12 11:59:12 PDT 2020


Author: Louis Dionne
Date: 2020-06-12T14:58:54-04:00
New Revision: 9c2c698fd4847bd0e9fd03059ec46f130e7641e8

URL: https://github.com/llvm/llvm-project/commit/9c2c698fd4847bd0e9fd03059ec46f130e7641e8
DIFF: https://github.com/llvm/llvm-project/commit/9c2c698fd4847bd0e9fd03059ec46f130e7641e8.diff

LOG: [libc++] Add missing sitedir to local Lit config

It relied on the site dir being added by a previous config file.

Added: 
    

Modified: 
    libcxx/test/libcxx/selftest/newformat/lit.local.cfg

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/selftest/newformat/lit.local.cfg b/libcxx/test/libcxx/selftest/newformat/lit.local.cfg
index 8789ca4253af..0f75e02dc661 100644
--- a/libcxx/test/libcxx/selftest/newformat/lit.local.cfg
+++ b/libcxx/test/libcxx/selftest/newformat/lit.local.cfg
@@ -1,3 +1,6 @@
+import os
+import site
+site.addsitedir(os.path.join(os.path.dirname(__file__), '..', '..', '..', '..', 'utils'))
 import libcxx.test.newformat
 
 if not isinstance(config.test_format, libcxx.test.newformat.CxxStandardLibraryTest):


        


More information about the libcxx-commits mailing list