#!/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