mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:41:08 +08:00
tests: Disable terminal.py under asan
We want asan to tell us about memory errors, not randomly fail tests because it's too slow.
This commit is contained in:
parent
695b408396
commit
6501f7ab6f
|
@ -2,6 +2,14 @@
|
|||
from pexpect_helper import SpawnedProc
|
||||
import platform
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Disable under SAN - keeps failing because the timing is too tight
|
||||
if "FISH_CI_SAN" in os.environ:
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
# Set a 0 terminal size
|
||||
sp = SpawnedProc(args=["-d", "term-support"], dimensions=(0, 0))
|
||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||
|
|
Loading…
Reference in New Issue
Block a user