Salome HOME
Use logStructuredUserEvent() for log message format consistency.
[modules/shaper.git] / test.sh
1 #!/bin/bash
2
3 source env.sh
4
5 mkdir -p ${BUILD_DIR}
6 cd ${BUILD_DIR}
7
8 export DISPLAY="localhost:0.0"
9
10 # check for __init__.py in the SHAPER's Python scripts directory
11 # for correct parsing PYTHONPATH and use the actual version of SHAPER
12 # instead of distributed with SALOME
13 if [[ ! -f ${SHAPER_PYTHON_SCRIPTS_DIR}/salome/__init__.py ]]; then
14   touch ${SHAPER_PYTHON_SCRIPTS_DIR}/salome/__init__.py
15 fi
16
17 if [[ $# > 0 ]]; then
18   ctest --no-compress-output -T Test "$@" -R $1
19 else
20   ctest --no-compress-output -T Test "$@"
21 fi