From: azv Date: Mon, 22 Apr 2019 08:10:40 +0000 (+0300) Subject: Possibility to run test case by regexp X-Git-Tag: VEDF2019Lot4~148^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c56b3969d312f7bb7fe9ed6d9d57ea489e97f862;p=modules%2Fshaper.git Possibility to run test case by regexp --- diff --git a/test.sh b/test.sh index 79ab28f25..3e31a5516 100755 --- 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