[LNT] r188098 - [tests] Update to use lit_config and lit package, as appropriate.

Daniel Dunbar daniel at zuster.org
Fri Aug 9 13:02:50 PDT 2013


Author: ddunbar
Date: Fri Aug  9 15:02:50 2013
New Revision: 188098

URL: http://llvm.org/viewvc/llvm-project?rev=188098&view=rev
Log:
[tests] Update to use lit_config and lit package, as appropriate.

Modified:
    lnt/trunk/tests/lit.cfg

Modified: lnt/trunk/tests/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/lit.cfg?rev=188098&r1=188097&r2=188098&view=diff
==============================================================================
--- lnt/trunk/tests/lit.cfg (original)
+++ lnt/trunk/tests/lit.cfg Fri Aug  9 15:02:50 2013
@@ -3,6 +3,9 @@
 import os
 import platform
 
+import lit.formats
+import lit.util
+
 # Configuration file for the 'lit' test runner.
 
 # name: The name of this test suite.
@@ -32,11 +35,11 @@ config.substitutions.append(('%{src_root
 config.substitutions.append(('%{shared_inputs}', os.path.join(
             src_root, 'tests', 'SharedInputs')))
 
-if lit.params.get('long', None):
+if lit_config.params.get('long', None):
     config.available_features.add('long')
 
 # Enable coverage.py reporting, assuming the coverage module has been installed
 # and sitecustomize.py in the virtualenv has been modified appropriately.
-if lit.params.get('check-coverage', None):
+if lit_config.params.get('check-coverage', None):
     config.environment['COVERAGE_PROCESS_START'] = os.path.join(
         os.path.dirname(__file__), ".coveragerc")





More information about the llvm-commits mailing list