Commit 7f643fb0 authored by Federico Vaga's avatar Federico Vaga

tst: program FPGA before running tests

Signed-off-by: Federico Vaga's avatarFederico Vaga <>
parent 67d436d5
......@@ -15,6 +15,13 @@ def spec():
def pytest_addoption(parser):
required=True, help="SPEC PCI Identifier")
required=True, help="SPEC bitstream to be tested")
def pytest_configure(config):
pytest.pci_id = config.getoption("--pci-id")
pytest.cfg_bitstream = config.getoption("--bitstream")
spec = PySPEC(pytest.pci_id)
del spec
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment