[PATCH] D74051: Move update_cc_test_checks.py tests to clang
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 1 23:57:37 PDT 2020
lebedev.ri added a comment.
In D74051#2016078 <https://reviews.llvm.org/D74051#2016078>, @mgorny wrote:
> 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.
Is that a supported build mode for clang?
> If this is used only in clang, the script should be moved to clang as well.
I was under impression that it is exactly what this change did.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74051/new/
https://reviews.llvm.org/D74051
More information about the cfe-commits
mailing list