From: Ovidiu Mircescu Date: Fri, 7 Sep 2018 08:17:37 +0000 (+0200) Subject: Fix for GEOM - SMESH test X-Git-Tag: V9_1_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=45cb8a6103e61db8ad33357881c03e51c4a1a4be;p=modules%2Fyacs.git Fix for GEOM - SMESH test The test testExecForEachGeoMesh.py needs GEOM and SMESH modules and it cannot be passed in the build environment. Therefore, it is no longer passed in the build environment (make test), but it is still passed with "salome test". --- diff --git a/src/yacsloader_swig/Test/YacsLoaderInSessionTest.sh.in b/src/yacsloader_swig/Test/YacsLoaderInSessionTest.sh.in index 761324ad2..0d08ec774 100644 --- a/src/yacsloader_swig/Test/YacsLoaderInSessionTest.sh.in +++ b/src/yacsloader_swig/Test/YacsLoaderInSessionTest.sh.in @@ -98,18 +98,11 @@ fi python @CMAKE_CURRENT_SOURCE_DIR@/testHPDecorator.py ret8=$? if [ $ret8 -gt 0 ]; then - echo "exec status testProgress : " $ret8 + echo "exec status testHPDecorator : " $ret8 exit $ret8 fi -python @CMAKE_CURRENT_SOURCE_DIR@/testExecForEachGeoMesh.py -ret9=$? -if [ $ret9 -gt 0 ]; then - echo "exec status testExec : " $ret0 - exit $ret9 -fi - -let ret=$ret0+$ret1+$ret2+$ret3+$ret4+$ret5+$ret6+$ret7+$ret8+$ret9 +let ret=$ret0+$ret1+$ret2+$ret3+$ret4+$ret5+$ret6+$ret7+$ret8 # --- return unit tests status