Commit 1047c915 authored by Tristan Gingold's avatar Tristan Gingold

Add tests.

parent 0c3c21f3
action = "simulation"
top_module = "gate"
files = [ "../files/gate.vhdl" ]
action = "error"
sim_tool="modelsim"
top_module = "gate"
files = [ "../files/gate.vhdl" ]
......@@ -344,6 +344,14 @@ def test_modelsim_windows():
assert hdlmake.util.shell.check_windows() is False
run_compare(path="057msim_windows", check_windows=True)
def test_nosim_tool():
with pytest.raises(SystemExit) as _:
run([], path="063err_nosim_tool")
def test_err_action():
with pytest.raises(SystemExit) as _:
run([], path="064err_action")
@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