mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 11:25:27 +00:00
clang-tidy: don't use an absolute path in a test
`run_clang_tidy` takes a regular expression to match against compile_commands.json entries. If we pass "%t/test.cpp" and "%t" expands to anything that includes chars that a regex treats specially, like '+', this test starts failing.
This commit is contained in:
parent
e956952ede
commit
9f13a032b6
@ -9,7 +9,7 @@
|
||||
// RUN: echo " value: '0'" >> %t/.clang-tidy
|
||||
// RUN: cp "%s" "%t/test.cpp"
|
||||
// RUN: cd "%t"
|
||||
// RUN: not %run_clang_tidy "%t/test.cpp"
|
||||
// RUN: not %run_clang_tidy "test.cpp"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user