[PATCH] D61798: lit: modernize the lit configuration for the lit tests

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 09:44:13 PDT 2019


mgorny added a comment.

This breaks running tests via `lit`:

  $ lit -v tests
  lit: /usr/lib/python3.7/site-packages/lit/TestingConfig.py:102: fatal: unable to parse config file '/home/mgorny/git/llvm-project/llvm/utils/lit/tests/lit.cfg', traceback: Traceback (most recent call last):
    File "/usr/lib/python3.7/site-packages/lit/TestingConfig.py", line 89, in load_from_path
      exec(compile(data, path, 'exec'), cfg_globals, None)
    File "/home/mgorny/git/llvm-project/llvm/utils/lit/tests/lit.cfg", line 38, in <module>
      llvm_config.with_environment('PYTHONPATH', lit_path, append_path=True)
  AttributeError: 'NoneType' object has no attribute 'with_environment'


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61798/new/

https://reviews.llvm.org/D61798





More information about the llvm-commits mailing list