Salome HOME
Issue #3017: Highlight selected object on N button press
[modules/shaper.git] / test.sh
diff --git a/test.sh b/test.sh
index c66c9150d499b306e0a900bcfc574f19fd650f7d..92c0b48e9651a0b4d16e12a6f178499fbe08164a 100755 (executable)
--- 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