More verbose sip failure

This commit is contained in:
Alex 2019-04-17 16:23:09 -04:00 committed by Nyall Dawson
parent dca0fb9026
commit 21280c39c0
2 changed files with 2 additions and 1 deletions

View File

@ -25,12 +25,14 @@ for module in "${modules[@]}"; do
outdiff=$(./scripts/sipify.pl -p python/${module}/auto_additions/${pyfile}.temp $header | diff python/$sipfile.in -)
if [[ -n "$outdiff" ]]; then
echo " *** SIP file not up to date: $sipfile"
echo " $outdiff "
code=1
fi
if [[ -f python/${module}/auto_additions/${pyfile}.temp ]]; then
outdiff2=$(diff python/${module}/auto_additions/${pyfile} python/${module}/auto_additions/${pyfile}.temp)
if [[ -n "$outdiff2" ]]; then
echo " *** Python addition file not up to date: $sipfile"
echo " $outdiff2 "
code=1
fi
fi

View File

@ -759,7 +759,6 @@ void TestQgsLayerTree::testSymbolText()
<< QStringLiteral( "bbbb" )
<< QStringLiteral( "cccc" )
<< QStringLiteral( "7" ) );
//cleanup
delete m;
delete root;