From: asl Date: Thu, 16 Nov 2017 16:18:30 +0000 (+0300) Subject: debug of automatic tests X-Git-Tag: v2.1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=67777ad82c7b995b02744a506136c61704d4a0d1;p=modules%2Fhydro.git debug of automatic tests --- diff --git a/src/HYDRO_tests/TestViewer.cxx b/src/HYDRO_tests/TestViewer.cxx index 82b05197..1da14b7e 100644 --- a/src/HYDRO_tests/TestViewer.cxx +++ b/src/HYDRO_tests/TestViewer.cxx @@ -457,8 +457,13 @@ bool TestViewer::areScriptsEqual( const QString& theBaseName, i++; } - if( isEqual ) - isEqual = anActual.atEnd(); + while( !anActual.atEnd() && isEqual ) + { + QString anActualLine = GetLine( anActual, isActualUtf8 ); + anActualLine = anActualLine.trimmed(); + if( !anActualLine.isEmpty() ) + isEqual = false; + } anExpected.close(); anActual.close();