diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-07-04 10:45:58 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-07-18 23:53:08 +0200 |
commit | 76c5268025a08ac3498ad911a388ff8a57477151 (patch) | |
tree | 37559d33405ec83d5635ef23cb2e9a1ae6f064a7 /testsuite | |
parent | 6f84bada86b549350963d32e399892509da989e9 (diff) | |
download | ghdl-76c5268025a08ac3498ad911a388ff8a57477151.tar.gz ghdl-76c5268025a08ac3498ad911a388ff8a57477151.tar.bz2 ghdl-76c5268025a08ac3498ad911a388ff8a57477151.zip |
testsuite/pyunit/lsp: xfail Test004 on non MSYS2 Windows
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/pyunit/lsp/LanguageServer.py | 11 |
1 files 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") |