Salome HOME
Merge branch 'BR_2017' of https://git.salome-platform.org/gitpub/modules/hydro.git...
[modules/hydro.git] / src / HYDRO_tests / TestViewer.cxx
index 36addda8e11a33e1325f1303246d7dc375eea563..82b05197249eff89d5a4d32b602b74da2da62cfa 100644 (file)
@@ -430,7 +430,11 @@ bool TestViewer::areScriptsEqual( const QString& theBaseName,
   QString anExpectedRefFilePath = REF_DATA_PATH;
   anExpectedRefFilePath += "/" + theBaseName;
   
+#ifdef WIN32
   QString anActualFilePath = QDir::tempPath() + "/" + theBaseName;
+#else
+  QString anActualFilePath = QDir::tempPath() + "/hydro/" + theBaseName;
+#endif
 
   QFile anExpected( anExpectedRefFilePath );
   QFile anActual( anActualFilePath );