- test_sync_clk_basic and test_sync_clk_plugin now run at FS & HS

- test_sync_clk_plugin marked as known failure (now fails as expected for HS and FS)
This commit is contained in:
xross
2022-08-04 19:54:29 +01:00
parent 3a9f2fff3a
commit 5690442a4b
7 changed files with 89 additions and 50 deletions

View File

@@ -1,19 +1,10 @@
import pytest
import Pyxsim
from Pyxsim import testers
import os
import sys
from test_sync_clk_basic import do_test
from test_sync_clk_basic import test_file
@pytest.fixture()
def test_file(request):
return str(request.node.fspath)
def test_sync_clk_plugin(test_file, options, capfd):
#pytest.xfail("This is a known failure due to issue #275")
result = do_test(test_file, options, capfd)
@pytest.mark.parametrize("bus_speed", ["FS", "HS"])
def test_sync_clk_plugin(bus_speed, test_file, options, capfd):
pytest.xfail("This is a known failure due to issue #275")
result = do_test(bus_speed, test_file, options, capfd)
assert result