dump the log when an error is found

This commit is contained in:
Sylvestre Ledru 2021-10-19 18:44:39 +02:00
parent 0203a45f38
commit a122693ff9

View File

@ -1305,6 +1305,7 @@ if dpkg -l|grep -q clang-$VERSION-dbgsym; then
if ! grep "main at driver.cpp" foo.log; then if ! grep "main at driver.cpp" foo.log; then
echo "Could not find the debug info" echo "Could not find the debug info"
echo "Or the main() of clang isn't in driver.cpp anymore" echo "Or the main() of clang isn't in driver.cpp anymore"
cat foo.log
exit -1 exit -1
fi fi
else else