]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Fix for GEOM - SMESH test
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 7 Sep 2018 08:17:37 +0000 (10:17 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 7 Sep 2018 08:17:37 +0000 (10:17 +0200)
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".

src/yacsloader_swig/Test/YacsLoaderInSessionTest.sh.in

index 761324ad2cfc333d636f59c8e6026f73ae7054a7..0d08ec7740a5a384c1a69462d85f830f67e07fe1 100644 (file)
@@ -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