Commit b5924e1c authored by Tristan Gingold's avatar Tristan Gingold

Add a test for unknown filetype.

parent d236f052
action = "simulation"
sim_tool="modelsim"
sim_path="fake_bin"
top_module = "gate"
files = [ "../files/gate.vhdl", "unknown.foo" ]
......@@ -490,6 +490,11 @@ def test_err_missing_module():
def test_library():
run_compare(path="091library")
def test_err_filetype():
with pytest.raises(SystemExit) as _:
run([], path="092bad_filetype")
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