Salome HOME
refs #1341: debug of automatic tests
[modules/hydro.git] / src / HYDRO_tests / test_HYDROData_Tool.cxx
index 470e7c228056a80ec7144dbc58c084285aed7b32..0d259ccddadf927e5d2f5ec934a1aae1508b4b85 100644 (file)
@@ -26,7 +26,6 @@
 #include <TestShape.h>
 #include <TopTools_ListOfShape.hxx>
 #include <AIS_DisplayMode.hxx>
-#include <Aspect_ColorScale.hxx>
 #include <QString>
 #include <QColor>
 #include <BRep_Builder.hxx>
 #include <TopTools_IndexedMapOfShape.hxx>
 #include <TopoDS_Iterator.hxx>
 
+extern QString REF_DATA_PATH;
 
 void test_HYDROData_Tool::test_rebuild_cmp()
 {
-  QString RefPath = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test";
+  QString RefPath = REF_DATA_PATH;
   BRep_Builder bb;
   {
     TopoDS_Shape in, out;