mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 11:33:58 +00:00
fix a test when running from a symlinked dir
This commit is contained in:
parent
ca9dbba24d
commit
6d0f0bba36
2
debian/qualify-clang.sh
vendored
2
debian/qualify-clang.sh
vendored
@ -67,7 +67,7 @@ void test() {
|
||||
scan-build-$VERSION -o scan-build gcc -c foo.c &> /dev/null || true
|
||||
scan-build-$VERSION -o scan-build clang-$VERSION -c foo.c &> /dev/null
|
||||
scan-build-$VERSION --exclude non-existing/ --exclude /tmp/ -v clang-$VERSION -c foo.c &> /dev/null
|
||||
scan-build-$VERSION --exclude $(pwd) -v clang-$VERSION -c foo.c &> foo.log
|
||||
scan-build-$VERSION --exclude $(realpath $(pwd)) -v clang-$VERSION -c foo.c &> foo.log
|
||||
if ! grep -q -E "scan-build: 0 bugs found." foo.log; then
|
||||
echo "scan-build --exclude didn't ignore the defect"
|
||||
exit 42
|
||||
|
Loading…
Reference in New Issue
Block a user