diff --git a/tests/code_layout/test_sipfiles_uptodate.sh b/tests/code_layout/test_sipfiles_uptodate.sh index 40992b6b7f6..f14955d3297 100755 --- a/tests/code_layout/test_sipfiles_uptodate.sh +++ b/tests/code_layout/test_sipfiles_uptodate.sh @@ -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 diff --git a/tests/src/core/testqgslayertree.cpp b/tests/src/core/testqgslayertree.cpp index c097d440c08..9d4da03bbc8 100644 --- a/tests/src/core/testqgslayertree.cpp +++ b/tests/src/core/testqgslayertree.cpp @@ -759,7 +759,6 @@ void TestQgsLayerTree::testSymbolText() << QStringLiteral( "bbbb" ) << QStringLiteral( "cccc" ) << QStringLiteral( "7" ) ); - //cleanup delete m; delete root;