From 8dbb4e61a98ff0f89728dc4b3bf1febec7e2b602 Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 22 Apr 2019 11:10:40 +0300 Subject: [PATCH] Possibility to run test case by regexp --- test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2