diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-07-19 01:31:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 01:31:49 +0200 |
commit | 00667c1805c96c112c0cc4874351354d335af52f (patch) | |
tree | 9b14fbbb03e27e68aedb1f539b2f5cfb6f93018c /testsuite/pyunit/lsp/LanguageServer.py | |
parent | d6c71f92412036657c423572e34550b0a733c3fc (diff) | |
parent | ef4bcbb15afd7c1cde9432d192be15c184cac629 (diff) | |
download | ghdl-00667c1805c96c112c0cc4874351354d335af52f.tar.gz ghdl-00667c1805c96c112c0cc4874351354d335af52f.tar.bz2 ghdl-00667c1805c96c112c0cc4874351354d335af52f.zip |
ci: generate standalone zipfiles and add CPython jobs
Diffstat (limited to 'testsuite/pyunit/lsp/LanguageServer.py')
-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") |