[all-commits] [llvm/llvm-project] a72232: Update remaining tests for usage of CLANG_RESOURCE...
dyung via All-commits
all-commits at lists.llvm.org
Sat Jun 13 14:56:20 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a72232481fe7d87056dae9b89d8c2580323a9f39
https://github.com/llvm/llvm-project/commit/a72232481fe7d87056dae9b89d8c2580323a9f39
Author: dyung <douglas.yung at sony.com>
Date: 2026-06-13 (Sat, 13 Jun 2026)
Changed paths:
M clang/test/Driver/hexagon-toolchain-picolibc.c
M clang/test/Driver/hip-include-path.hip
M clang/test/Preprocessor/iwithprefix.c
Log Message:
-----------
Update remaining tests for usage of CLANG_RESOURCE_DIR (#202475)
We would like to enable the clang CMake option CLANG_RESOURCE_DIR on our
build bots, but found that a few tests that need updating since they
make assumptions about compiler paths that are modified when using
CLANG_RESOURCE_DIR. This is the final change to update the remaining 3
test failures we found.
In the previous change (#197154), I added a definition for
`%clang-resource-dir` which contains the path printed by the compiler
when run with `-print-resource-dir`. We pass that value to the remaining
tests where needed through the RUN lines and use that to verify the
correct path rather than just trying to guess at it using a complex
regex.
One exception was a test which uses `-###` which escapes the backslashes
on Windows. For that test I just used tr+sed to escape the backslashes so
that the matching would work in that particular test only.
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