File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ usage() {
32
32
echo "
33
33
Usage: $0 <options>
34
34
Optional options:
35
- --test [TEST_NAME] run specific test
35
+ --test TEST_NAME run specific test
36
+ --gtest_filter GTEST_FILTER run test cases with gtest filters
36
37
--dry-run dry-run unit tests
37
38
--clean clean old unit tests before run
38
39
--with-gcov enable to build with gcov
@@ -51,6 +52,7 @@ Usage: $0 <options>
51
52
$0 --dry-run dry-run unit tests
52
53
$0 --clean clean old unit tests before run
53
54
$0 --help display usage
55
+ $0 --gtest_filter CompactionUtilsTest*:TabletUpdatesTest* run the two test suites: CompactionUtilsTest and TabletUpdatesTest
54
56
"
55
57
exit 1
56
58
}
@@ -116,8 +118,8 @@ while true; do
116
118
--clean) CLEAN=1 ; shift ;;
117
119
--dry-run) DRY_RUN=1 ; shift ;;
118
120
--run) shift ;; # Option only for compatibility
119
- --test) TEST_NAME=$2 ; shift 2;;
120
- --gtest_filter) TEST_NAME=$2 ; shift 2;; # Option only for compatibility
121
+ --test) TEST_NAME=${2} * ; shift 2;;
122
+ --gtest_filter) TEST_NAME=$2 ; shift 2;;
121
123
--module) TEST_MODULE=$2 ; shift 2;;
122
124
--help) HELP=1 ; shift ;;
123
125
--with-aws) WITH_AWS=ON; shift ;;
You can’t perform that action at this time.
0 commit comments