summaryrefslogtreecommitdiff
path: root/test/Unit/lit.site.cfg.in
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-08-09 16:22:05 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-08-09 16:22:05 +0000
commit27c35d980a4f59ca9a4d75bf219092e6b1013dc9 (patch)
treeee3a075f358a8a1b186f55b6940731d17bbafa92 /test/Unit/lit.site.cfg.in
parentb0e8d37240835c68357be061de5f2e5fb69dd7ac (diff)
downloadllvm-27c35d980a4f59ca9a4d75bf219092e6b1013dc9.tar.gz
llvm-27c35d980a4f59ca9a4d75bf219092e6b1013dc9.tar.bz2
llvm-27c35d980a4f59ca9a4d75bf219092e6b1013dc9.tar.xz
[tests] Update to use lit_config and lit package, as appropriate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Unit/lit.site.cfg.in')
-rw-r--r--test/Unit/lit.site.cfg.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Unit/lit.site.cfg.in b/test/Unit/lit.site.cfg.in
index c6e12400d1..7ff8155dff 100644
--- a/test/Unit/lit.site.cfg.in
+++ b/test/Unit/lit.site.cfg.in
@@ -13,12 +13,12 @@ config.shlibpath_var = "@SHLIBPATH_VAR@"
# Support substitution of the tools_dir and build_mode with user parameters.
# This is used when we can't determine the tool dir at configuration time.
try:
- config.llvm_tools_dir = config.llvm_tools_dir % lit.params
- config.llvm_build_mode = config.llvm_build_mode % lit.params
+ config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
+ config.llvm_build_mode = config.llvm_build_mode % lit_config.params
except KeyError:
e = sys.exc_info()[1]
key, = e.args
- lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
+ lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
# Let the main config do the real work.
-lit.load_config(config, "@LLVM_SOURCE_DIR@/test/Unit/lit.cfg")
+lit_config.load_config(config, "@LLVM_SOURCE_DIR@/test/Unit/lit.cfg")