Salome HOME
Issue #2957: Edit help pages according to last changes
[modules/shaper.git] / test.sh
diff --git a/test.sh b/test.sh
index 79ab28f2505e6cf0111ae486b188930b02d57f34..92c0b48e9651a0b4d16e12a6f178499fbe08164a 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -5,4 +5,10 @@ source env.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