Mark segfault on exit in test_smoke as xfail
See #1387. I know this is... less than optimal, but I can't do anything :-/
This commit is contained in:
parent
6e7aefca00
commit
0776aaf32c
@ -19,10 +19,12 @@
|
||||
|
||||
"""Test which simply runs qutebrowser to check if it starts properly."""
|
||||
|
||||
|
||||
import sys
|
||||
import os.path
|
||||
import subprocess
|
||||
import signal
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def test_smoke():
|
||||
@ -32,7 +34,15 @@ def test_smoke():
|
||||
argv = [sys.executable, '-m', 'qutebrowser']
|
||||
argv += ['--debug', '--no-err-windows', '--nowindow', '--temp-basedir',
|
||||
'about:blank', ':later 500 quit']
|
||||
subprocess.check_call(argv)
|
||||
try:
|
||||
subprocess.check_call(argv)
|
||||
except subprocess.CalledProcessError as e:
|
||||
if e.returncode == -signal.SIGSEGV:
|
||||
# pylint: disable=no-member
|
||||
# https://github.com/The-Compiler/qutebrowser/issues/1387
|
||||
pytest.xfail("Ignoring segfault on exit...")
|
||||
else:
|
||||
raise
|
||||
|
||||
|
||||
def test_smoke_quteproc(quteproc):
|
||||
|
Loading…
Reference in New Issue
Block a user