Commit 65332188 authored by Tristan Gingold's avatar Tristan Gingold

Add a test for a missing local module.

parent 67cfd90b
action = "simulation"
sim_tool="modelsim"
sim_path="fake_bin"
top_module = "gate"
files = [ "../files/gate.vhdl" ]
modules = { 'local': 'missing' }
......@@ -482,6 +482,11 @@ def test_err_missing_file():
run([], path="089missing_file")
assert False
def test_err_missing_module():
with pytest.raises(SystemExit) as _:
run([], path="090missing_module")
assert False
@pytest.mark.xfail
def test_xfail():
"""This is a self-consistency test: the test is known to fail"""
......
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