Commit c953e85
Fix CI: gate pipe_body tests on !_WIN32
MSYS2/mingw does not expose POSIX ::pipe(); Windows uses _pipe() or
CreatePipe(). The pipe_body class itself is portable (it just owns and
closes an existing fd), but the unit tests need to *create* a pipe to
exercise it, which is platform-specific. Gating the two pipe-creating
tests with #ifndef _WIN32 keeps the test on Linux/macOS where the
class's behaviour is exercised by the rest of the matrix.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 13aa17a commit c953e85
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
201 | 207 | | |
| 208 | + | |
202 | 209 | | |
203 | 210 | | |
204 | 211 | | |
| |||
227 | 234 | | |
228 | 235 | | |
229 | 236 | | |
| 237 | + | |
230 | 238 | | |
231 | 239 | | |
232 | 240 | | |
| |||
0 commit comments