From: asl Date: Mon, 30 Oct 2017 07:05:07 +0000 (+0300) Subject: reference data path is moved to main X-Git-Tag: v2.1~67^2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=24dda0c3d487cc78bef0b3251868f0f91dde9f86;p=modules%2Fhydro.git reference data path is moved to main --- diff --git a/src/HYDRO_tests/test_HYDROData_CalcCase.cxx b/src/HYDRO_tests/test_HYDROData_CalcCase.cxx index 1d4b877c..2719ca7b 100644 --- a/src/HYDRO_tests/test_HYDROData_CalcCase.cxx +++ b/src/HYDRO_tests/test_HYDROData_CalcCase.cxx @@ -33,9 +33,7 @@ #include #include - -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() { diff --git a/src/HYDRO_tests/test_HYDROData_Main.cxx b/src/HYDRO_tests/test_HYDROData_Main.cxx index 96072a1b..3b4d053f 100644 --- a/src/HYDRO_tests/test_HYDROData_Main.cxx +++ b/src/HYDRO_tests/test_HYDROData_Main.cxx @@ -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 );