X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test.sh;h=92c0b48e9651a0b4d16e12a6f178499fbe08164a;hb=dcd89354b5d555a62d5e1257a1f6ea3c784572da;hp=3732d1601da167f03dc70d8c4bdd8c13070eac03;hpb=34afe547352180006fee9600173c4dc93dc1f6c3;p=modules%2Fshaper.git diff --git a/test.sh b/test.sh index 3732d1601..92c0b48e9 100755 --- a/test.sh +++ b/test.sh @@ -1,9 +1,14 @@ #!/bin/bash source env.sh -source ${TOOLS_DIR}/env_salome.sh mkdir -p ${BUILD_DIR} cd ${BUILD_DIR} -ctest --no-compress-output -T Test +export DISPLAY="localhost:0.0" + +if [[ $# > 0 ]]; then + ctest --no-compress-output -T Test "$@" -R $1 +else + ctest --no-compress-output -T Test "$@" +fi