Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#19772] build: support TEST_P gtest_filter derivation
Summary: yb_build.sh set_cxx_test_name has logic to take a line such as TEST_F_EX(QLTransactionTest, RemoteBootstrap, RemoteBootstrapTest) { and derive a gtest filter. It supports TEST, TEST_F, and TEST_F_EX, but it doesn't support TEST_P. Add that support using wildcards to cover all parameters. Jira: DB-8625 Test Plan: #!/usr/bin/env bash # No set -o pipefail because some tests are flaky. set -eu for cxxtest in 'TEST_P(PgOidCollisionTest, MetaCachePgOidCollisionFromTservers) {' \ 'TEST_P(PgPackedRowTest, AddDropColumn) {' \ 'TEST_P(PgFKeyTestConcurrentModification, HighPriorityDeleteBeforeLowPriorityReferencing) {' \ 'TEST_P(CreateMultiHBTableStressTest, RestartServersAfterCreation) {'; do echo Testing "$cxxtest" ./yb_build.sh fastdebug --gcc11 --cxx-test "$cxxtest" \ |& grep "Determined C++ test based on source substring:" done Close: #19772 Jenkins: skip Reviewers: mbautin Reviewed By: mbautin Subscribers: ybase Differential Revision: https://phorge.dev.yugabyte.com/D29835
- Loading branch information