forked from PAWPAW-Mirror/lib_xua
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user