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:
Fabian Boehm 2024-04-02 19:57:57 +02:00
parent 695b408396
commit 6501f7ab6f

View file

@ -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 = (