Commit 68a6462a authored by Tristan Gingold's avatar Tristan Gingold

Add a test on git checkout error.

parent 04351455
action = "simulation"
sim_tool="modelsim"
top_module = "gate"
fetchto = "ipcores"
files = [ "../files/gate.vhdl" ]
modules = { "git" : "git@test.org:tester/unknown.git" }
......@@ -200,6 +200,11 @@ def test_git_fetch_url2():
hdlmake.__main__.hdlmake(['fetch'])
shutil.rmtree('ipcores')
def test_git_fetch_err():
with pytest.raises(SystemExit) as _:
run(['fetch'], path="075err_git")
shutil.rmtree('ipcores', ignore_errors=True)
def test_svn_fetch():
with Config(path="021svn_fetch") as _:
hdlmake.__main__.hdlmake(['list-mods'])
......
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