Commit 9f7b34a
committed
Only run expectrl gix-prompt tests where supported
Two important `gix-prompt` tests simulate interactivity with
`expectrl`, which (non-optionally) depends on `ptyprocess`. But the
only (families of) Unix-like operating systems that `ptyprocess`
currently supports are Linux, FreeBSD, and macOS.
The tests that used `expectrl` were previously targeted to all
"unix" systems. This narrows them to systems where `target_os` is
`linux`, `freebsd`, or `macos`, and conditions the `expectrl` dev
dependency on those targets.
This way, running the test suite no longer fails to build on other
Unix-like systems. (In particular, this fixes the failure on
OmniOS, an illumos system. But the problem isn't illumos-specific.)1 parent db5c9cf commit 9f7b34a
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
0 commit comments