]> SALOME platform Git repositories - modules/shaper.git/blobdiff - test.sh
Salome HOME
Possibility to run test case by regexp
[modules/shaper.git] / test.sh
diff --git a/test.sh b/test.sh
index 79ab28f2505e6cf0111ae486b188930b02d57f34..3e31a55165b9d5ead1d0dfb6734d1faff876f888 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -5,4 +5,8 @@ source env.sh
 mkdir -p ${BUILD_DIR}
 cd ${BUILD_DIR}
 
-ctest --no-compress-output -T Test "$@"
+if [[ $# > 0 ]]; then
+  ctest --no-compress-output -T Test "$@" -R $1
+else
+  ctest --no-compress-output -T Test "$@"
+fi