From 76c5268025a08ac3498ad911a388ff8a57477151 Mon Sep 17 00:00:00 2001 From: umarcor Date: Sun, 4 Jul 2021 10:45:58 +0200 Subject: testsuite/pyunit/lsp: xfail Test004 on non MSYS2 Windows --- testsuite/pyunit/lsp/LanguageServer.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/testsuite/pyunit/lsp/LanguageServer.py b/testsuite/pyunit/lsp/LanguageServer.py index 8a13c21e9..8bde14054 100644 --- a/testsuite/pyunit/lsp/LanguageServer.py +++ b/testsuite/pyunit/lsp/LanguageServer.py @@ -1,5 +1,5 @@ -import os -from sys import executable +from os import environ +from sys import executable, platform from io import BytesIO from json import load as json_load, loads as json_loads, dumps as json_dumps from pathlib import Path @@ -7,9 +7,11 @@ from urllib.parse import quote from subprocess import run as subprocess_run, PIPE from typing import Optional from unittest import TestCase +from pytest import mark from pyGHDL.lsp.lsp import LanguageProtocolServer, LSPConn + class StrConn: __res: str @@ -191,6 +193,11 @@ class Test003_Errors(JSONTest): self._RequestResponse("cmds.json", "replies.json") + +@mark.xfail( + platform == 'win32' and ('MINGW_PREFIX' not in environ), + reason="needs OpenSSL", +) class Test004_Error_Project(JSONTest): subdir = Path("004errprj") -- cgit v1.2.3