[all-commits] [llvm/llvm-project] 6b1280: [InstallAPI] [Tests] Avoid checking compiler outpu...
Sirraide via All-commits
all-commits at lists.llvm.org
Tue Mar 24 14:23:36 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6b128091ba87ec711e11ed34b2810ff5deb8cef4
https://github.com/llvm/llvm-project/commit/6b128091ba87ec711e11ed34b2810ff5deb8cef4
Author: Sirraide <aeternalmail at gmail.com>
Date: 2026-03-24 (Tue, 24 Mar 2026)
Changed paths:
M clang/test/InstallAPI/extra-exclude-headers.test
M clang/test/InstallAPI/hiddens.test
Log Message:
-----------
[InstallAPI] [Tests] Avoid checking compiler output for 'error' (#188307)
We have two tests that use FileCheck for diagnostics and which try to
check that the output contains no compiler errors by checking for the
string 'error'. The issue with this approach is that this also causes
those tests to fail if the *path* contains the word 'error', which can
happen e.g. if the branch name contains the word 'error'.
Instead, we now check for `error:` since that string is much less likely
to appear in a path.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list