Commit 3e5dd9a3 authored by Tristan Gingold's avatar Tristan Gingold

Add a test for svn fetch error.

parent f8f68d81
action = "simulation"
sim_tool="modelsim"
top_module = "gate"
fetchto = "ipcores"
files = [ "../files/gate.vhdl" ]
modules = { "svn" : "http://test.org:tester/unknown" }
......@@ -221,6 +221,11 @@ def test_git_fetch_err():
run(['fetch'], path="075err_git")
shutil.rmtree('ipcores', ignore_errors=True)
def test_svn_fetch_err():
with pytest.raises(SystemExit) as _:
run(['--full-error', 'fetch'], path="094err_svn")
shutil.rmtree('094err_svn/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