Skip to content

Conversation

@jmr
Copy link
Member

@jmr jmr commented Aug 24, 2023

There are two types of tests. *_gtest.cc files use gtest and
gtest_main. *_test.cc files define their own main.

Only depend on gtest/gtest_main when needed. This is similar
to what CMakeLists.txt does.

jmr added 3 commits August 24, 2023 13:07
There are two types of tests.  `*_gtest.cc` files use `gtest` and
`gtest_main`.  `*_test.cc` files define their own main.

Only depend on `gtest`/`gtest_main` when needed.  This is similar
to what `CMakeLists.txt` does.
@dmah42
Copy link
Member

dmah42 commented Aug 24, 2023

if you'd asked, i would have sworn that i had this in here already.... so weird. thank you!

@dmah42 dmah42 merged commit dfc8a92 into google:main Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants