Repository navigation
Commit ca7b59d
committed
Keep the Windows target from being an empty test binary
Every case here drives a POSIX socketpair and sits inside #ifndef _WIN32, so
the Windows build contained no tests and passed with nothing run. open-telemetry#4294 hit
the same thing and solved it this way, so this follows it: one case declared
on every platform, which also gives gtest_add_tests, which scans the source,
a name the binary contains everywhere.1 parent 0d9a586 commit ca7b59d
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
0 commit comments