Skip to content

Commit d8ffc2f

Browse files
committed
Add info about filtering of legacy tests
1 parent 1eee66e commit d8ffc2f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,14 @@ Running integration tests only:
138138

139139
```bash
140140
ctest -j$(nproc) --preset release-integration
141-
```
141+
```
142+
143+
Note that some tests use a legacy test library instead of GoogleTest, see `./<test_target> --help` for details. If you need to run only certain test cases, here is an alternative for `--gtest_filter` option:
144+
145+
```bash
146+
cat <<EOF | ./<test_target> --filter-file /dev/fd/0
147+
-ExcludedTestCase
148+
+IncludedTestCase
149+
+IncludedTestCase::TestName
150+
EOF
151+
```

0 commit comments

Comments
 (0)