You group the patterns in the form --gtest_filter=POSTIVE_PATTERNS[-NEGATIVE_PATTERNS]
So in this case, you want --gtest_filter=-ABC.*:BCD.*
You group the patterns in the form --gtest_filter=POSTIVE_PATTERNS[-NEGATIVE_PATTERNS]
So in this case, you want --gtest_filter=-ABC.*:BCD.*