summaryrefslogtreecommitdiffstats
path: root/compiler-rt/unittests
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-04-07 01:24:48 +0000
committerReid Kleckner <rnk@google.com>2017-04-07 01:24:48 +0000
commit78495ea7c03fdaab099d8fd5b221fe37e70548e8 (patch)
tree725531c5be81509bf9fff6b6153ceb4c20e94d8e /compiler-rt/unittests
parentf6e857c40291ec1bc2a211d7d90d7d3d543a2f45 (diff)
downloadbcm5719-llvm-78495ea7c03fdaab099d8fd5b221fe37e70548e8.tar.gz
bcm5719-llvm-78495ea7c03fdaab099d8fd5b221fe37e70548e8.zip
Add missing import
llvm-svn: 299739
Diffstat (limited to 'compiler-rt/unittests')
-rw-r--r--compiler-rt/unittests/lit.common.unit.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/unittests/lit.common.unit.cfg b/compiler-rt/unittests/lit.common.unit.cfg
index 42df60433bc..b08c1fe1283 100644
--- a/compiler-rt/unittests/lit.common.unit.cfg
+++ b/compiler-rt/unittests/lit.common.unit.cfg
@@ -39,6 +39,7 @@ if config.host_os == 'Darwin':
# only works for code if it is stored at the top level of some module.
# Therefore, we have to put the code in a .py file, add it to path, and import
# it to store it in the config.
+ import site
site.addsitedir(os.path.dirname(__file__))
import lit_unittest_cfg_utils
config.darwin_sanitizer_parallelism_group_func = \
OpenPOWER on IntegriCloud