mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
[lit] Add an --output option, for writing results in a machine readable form.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -23,7 +23,7 @@ config.excludes = ['Inputs']
|
||||
config.test_source_root = os.path.dirname(__file__)
|
||||
config.test_exec_root = config.test_source_root
|
||||
|
||||
config.target_triple = None
|
||||
config.target_triple = '(unused)'
|
||||
|
||||
src_root = os.path.join(config.test_source_root, '..')
|
||||
config.environment['PYTHONPATH'] = src_root
|
||||
@@ -39,3 +39,7 @@ config.substitutions.append(('%{python}', sys.executable))
|
||||
if lit_config.params.get('check-coverage', None):
|
||||
config.environment['COVERAGE_PROCESS_START'] = os.path.join(
|
||||
os.path.dirname(__file__), ".coveragerc")
|
||||
|
||||
# Add a feature to detect the Python version.
|
||||
config.available_features.add("python%d.%d" % (sys.version_info[0],
|
||||
sys.version_info[1]))
|
||||
|
Reference in New Issue
Block a user