mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Try to fix macOS CI by disabling fg.py, signals.py, torn_escapes.py
These work fine AFAICT, just not in CI.
This commit is contained in:
parent
15cd74a3bb
commit
f062ad3ad6
5 changed files with 13 additions and 6 deletions
|
@ -8,7 +8,7 @@ import sys
|
|||
# and fails this a lot.
|
||||
#
|
||||
# Presumably we still have users on macOS that would notice binding errors
|
||||
if "GITHUB_WORKFLOW" in os.environ and platform.system() == "Darwin":
|
||||
if "CI" in os.environ and platform.system() == "Darwin":
|
||||
sys.exit(127)
|
||||
|
||||
sp = SpawnedProc()
|
||||
|
|
|
@ -5,7 +5,6 @@ import sys
|
|||
import signal
|
||||
import platform
|
||||
|
||||
# Fails on macOS CI
|
||||
if "CI" in os.environ and platform.system() == "Darwin":
|
||||
sys.exit(127)
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@ import subprocess
|
|||
import sys
|
||||
import time
|
||||
|
||||
if "CI" in os.environ and platform.system() == "Darwin":
|
||||
sys.exit(127)
|
||||
|
||||
sp = SpawnedProc()
|
||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||
sp.send,
|
||||
|
|
|
@ -18,7 +18,10 @@ import signal
|
|||
import subprocess
|
||||
import sys
|
||||
|
||||
if platform.system() == "FreeBSD": # Spurious failure.
|
||||
if "CI" in os.environ and platform.system() == "Darwin":
|
||||
sys.exit(127)
|
||||
|
||||
if platform.system() == "FreeBSD": # Spurious failure. TODO Only disable this in CI.
|
||||
sys.exit(127)
|
||||
|
||||
expect_prompt()
|
||||
|
|
|
@ -5,6 +5,11 @@ import signal
|
|||
import sys
|
||||
from pexpect_helper import SpawnedProc
|
||||
|
||||
if platform.system() == "FreeBSD": # Spurious failure. TODO Only disable this in CI.
|
||||
sys.exit(127)
|
||||
|
||||
if "CI" in os.environ and platform.system() == "Darwin":
|
||||
sys.exit(127)
|
||||
|
||||
sp = SpawnedProc()
|
||||
send, sendline, sleep, expect_prompt, expect_str, expect_re = (
|
||||
|
@ -16,9 +21,6 @@ send, sendline, sleep, expect_prompt, expect_str, expect_re = (
|
|||
sp.expect_re,
|
||||
)
|
||||
|
||||
if platform.system() == "FreeBSD": # Spurious failure.
|
||||
sys.exit(127)
|
||||
|
||||
# Ensure that signals don't tear escape sequences. See #8628.
|
||||
expect_prompt()
|
||||
|
||||
|
|
Loading…
Reference in a new issue