Commit ee73f56
committed
Exclude ControlConsoleTest from the Windows test build
ControlConsole's injectInput()/getFd() contract is a non-blocking pipe
that TerminalClient::run() selects on; that pipe is only created
#ifndef WIN32 (Windows has no select()-compatible anonymous pipe), so
getFd() returns -1 there. 3 of the test's 5 cases exercise that pipe
directly and fail on Windows as a result. --ctl (ControlConsole's only
consumer) is already explicitly unsupported on Windows, so exclude the
whole file rather than carry Windows-only branches through it.1 parent cf2ad0f commit ee73f56
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
627 | | - | |
628 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
629 | 630 | | |
630 | 631 | | |
631 | 632 | | |
632 | 633 | | |
633 | 634 | | |
634 | 635 | | |
| 636 | + | |
635 | 637 | | |
636 | 638 | | |
637 | 639 | | |
| |||
0 commit comments