summaryrefslogtreecommitdiff
path: root/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
commit7f45a60017e3b7401486ef3aeadac8d88b43f072 (patch)
tree2326d047df7b574728bb73eacc43d7d7ebf4cc2c /unittests
parent5a5d83e7f9aa2b358697712f94bcc4495242b0e4 (diff)
Add missing import
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/lit.common.unit.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/lit.common.unit.cfg b/unittests/lit.common.unit.cfg
index 42df60433..b08c1fe12 100644
--- a/unittests/lit.common.unit.cfg
+++ b/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 = \