[lit] Update lit's own tests to use lit_config and lit package, as appropriate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188107 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2013-08-09 21:39:17 +00:00
parent 1e07de3529
commit 4981a6ca97
11 changed files with 15 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import os
config.test_exec_root = os.path.dirname(__file__)
config.test_source_root = os.path.dirname(config.test_exec_root)
lit.load_config(config, os.path.join(config.test_source_root, "lit.cfg"))
lit_config.load_config(config, os.path.join(config.test_source_root, "lit.cfg"))