From 67777ad82c7b995b02744a506136c61704d4a0d1 Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 16 Nov 2017 19:18:30 +0300 Subject: [PATCH] debug of automatic tests --- src/HYDRO_tests/TestViewer.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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(); -- 2.39.2