mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-19 05:13:44 +08:00
pexpects: Disable exit on CI Darwin/FreeBSD
This commit is contained in:
parent
cb3fbd3a5c
commit
8add30e3bf
|
@ -1,8 +1,13 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
import platform
|
||||||
|
|
||||||
|
if "CI" in os.environ and platform.system() in ["Darwin", "FreeBSD"]:
|
||||||
|
sys.exit(127)
|
||||||
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
send, sendline, sleep, expect_prompt, expect_re = (
|
send, sendline, sleep, expect_prompt, expect_re = (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user