X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test.sh;h=7faf456b873ec3f33bcbb5ba2aafa9d7ed94797d;hb=1ab0c5577bd2c18bad23fb591864c9b76bcad29e;hp=92c0b48e9651a0b4d16e12a6f178499fbe08164a;hpb=c3830fc398348a5b6a024013637ceb3e152b8dbd;p=modules%2Fshaper.git diff --git a/test.sh b/test.sh index 92c0b48e9..7faf456b8 100755 --- a/test.sh +++ b/test.sh @@ -7,6 +7,13 @@ cd ${BUILD_DIR} export DISPLAY="localhost:0.0" +# check for __init__.py in the SHAPER's Python scripts directory +# for correct parsing PYTHONPATH and use the actual version of SHAPER +# instead of distributed with SALOME +if [[ ! -f ${SHAPER_PYTHON_SCRIPTS_DIR}/salome/__init__.py ]]; then + touch ${SHAPER_PYTHON_SCRIPTS_DIR}/salome/__init__.py +fi + if [[ $# > 0 ]]; then ctest --no-compress-output -T Test "$@" -R $1 else