]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
debug of automatic tests
authorasl <asl@opencascade.com>
Thu, 16 Nov 2017 16:18:30 +0000 (19:18 +0300)
committerasl <asl@opencascade.com>
Thu, 16 Nov 2017 16:18:46 +0000 (19:18 +0300)
src/HYDRO_tests/TestViewer.cxx

index 82b05197249eff89d5a4d32b602b74da2da62cfa..1da14b7e85e2c6e14de5156d5013b2c41454369d 100644 (file)
@@ -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();