From 27c35d980a4f59ca9a4d75bf219092e6b1013dc9 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 9 Aug 2013 16:22:05 +0000 Subject: [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 --- test/lit.site.cfg.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/lit.site.cfg.in') diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in index 3e7dc5c6a3..6ebdddf5f8 100644 --- a/test/lit.site.cfg.in +++ b/test/lit.site.cfg.in @@ -26,11 +26,11 @@ config.have_zlib = "@HAVE_LIBZ@" # Support substitution of the tools_dir 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_tools_dir = config.llvm_tools_dir % 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/lit.cfg") +lit_config.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg") -- cgit v1.2.3