]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
reference data path is moved to main
authorasl <asl@opencascade.com>
Mon, 30 Oct 2017 07:05:07 +0000 (10:05 +0300)
committerasl <asl@opencascade.com>
Mon, 30 Oct 2017 07:05:07 +0000 (10:05 +0300)
src/HYDRO_tests/test_HYDROData_CalcCase.cxx
src/HYDRO_tests/test_HYDROData_Main.cxx

index 1d4b877c16cebb466cb58339d3b647b4d13ad1f6..2719ca7bffd38b864983cbf634434f204e38ef83 100644 (file)
@@ -33,9 +33,7 @@
 #include <BRep_Builder.hxx>
 #include <BRepTools.hxx>
 
-
-QString REF_DATA_PATH = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test/HYDRO";
-
+extern QString REF_DATA_PATH;
 
 void test_HYDROData_CalcCase::test_add_int_wires()
 {
index 96072a1b82e48ca409dcf1171f1d86e3e39f9655..3b4d053f4ddf0198a7a3a0b269d81f71323b73b9 100644 (file)
@@ -33,6 +33,8 @@
 #define _DEVDEBUG_
 #include "HYDRO_trace.hxx"
 
+QString REF_DATA_PATH = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test/HYDRO";
+
 int main( int argc, char* argv[] )
 {
   QApplication anApp( argc, argv );