[PATCH] D74051: Move update_cc_test_checks.py tests to clang

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 23:25:38 PDT 2020


mgorny reopened this revision.
mgorny added a comment.
This revision is now accepted and ready to land.

This broke running clang tests stand-alone:

  Traceback (most recent call last):
    File "/var/tmp/portage/sys-devel/clang-11.0.0.9999/work/x/y/clang-abi_x86_64.amd64/bin/../../llvm/utils/lit/lit/TestingConfig.py", line 89, in load_from_path
      exec(compile(data, path, 'exec'), cfg_globals, None)
    File "/var/tmp/portage/sys-devel/clang-11.0.0.9999/work/x/y/clang/test/utils/update_cc_test_checks/lit.local.cfg", line 21, in <module>
      assert os.path.isfile(script_path)
  AssertionError
                                                             
  FAILED: test/CMakeFiles/check-clang

Obviously this fails when LLVM source tree is not available. If this is used only in clang, the script should be moved to clang as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74051





More information about the llvm-commits mailing list