Commit 729ae988 authored by Tristan Gingold's avatar Tristan Gingold

Add a test for fetching sub modules.

parent 3e5dd9a3
action = "simulation"
sim_tool="modelsim"
top_module = "gate"
fetchto = "ipcores"
files = [ "../files/gate.vhdl" ]
modules = { "git" : "git@test.org:tester/module3.git" }
modules = { "git" : "git@test.org:tester/module1.git" }
......@@ -250,6 +250,11 @@ def test_git_fetch_cmds():
hdlmake.main.hdlmake(['fetch'])
shutil.rmtree('ipcores')
def test_sub_fetch():
with Config(path="095sub_fetch") as _:
hdlmake.main.hdlmake(['fetch'])
shutil.rmtree('ipcores')
def test_err_fetch():
with pytest.raises(SystemExit) as _:
run([], path="065fetch_pre_post")
......
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