mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-19 20:29:18 +00:00
When clang++- -P -E foo.cc fails, show the output
This commit is contained in:
parent
703626fba6
commit
a51753db83
2
debian/qualify-clang.sh
vendored
2
debian/qualify-clang.sh
vendored
@ -353,6 +353,8 @@ echo "#include <fenv.h>" > foo.cc
|
||||
NBLINES=$(clang++-$VERSION -P -E foo.cc|wc -l)
|
||||
if test $NBLINES -lt 100; then
|
||||
echo "Error: more than 100 lines should be returned"
|
||||
echo "output:"
|
||||
clang++-$VERSION -P -E foo.cc
|
||||
exit 42
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user