Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
729ae988
Commit
729ae988
authored
Oct 30, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for fetching sub modules.
parent
3e5dd9a3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
Manifest.py
testsuite/095sub_fetch/Manifest.py
+9
-0
Manifest.py
testsuite/modules/module3/Manifest.py
+1
-0
test_all.py
testsuite/test_all.py
+5
-0
No files found.
testsuite/095sub_fetch/Manifest.py
0 → 100644
View file @
729ae988
action
=
"simulation"
sim_tool
=
"modelsim"
top_module
=
"gate"
fetchto
=
"ipcores"
files
=
[
"../files/gate.vhdl"
]
modules
=
{
"git"
:
"git@test.org:tester/module3.git"
}
testsuite/modules/module3/Manifest.py
0 → 100644
View file @
729ae988
modules
=
{
"git"
:
"git@test.org:tester/module1.git"
}
testsuite/test_all.py
View file @
729ae988
...
@@ -250,6 +250,11 @@ def test_git_fetch_cmds():
...
@@ -250,6 +250,11 @@ def test_git_fetch_cmds():
hdlmake
.
main
.
hdlmake
([
'fetch'
])
hdlmake
.
main
.
hdlmake
([
'fetch'
])
shutil
.
rmtree
(
'ipcores'
)
shutil
.
rmtree
(
'ipcores'
)
def
test_sub_fetch
():
with
Config
(
path
=
"095sub_fetch"
)
as
_
:
hdlmake
.
main
.
hdlmake
([
'fetch'
])
shutil
.
rmtree
(
'ipcores'
)
def
test_err_fetch
():
def
test_err_fetch
():
with
pytest
.
raises
(
SystemExit
)
as
_
:
with
pytest
.
raises
(
SystemExit
)
as
_
:
run
([],
path
=
"065fetch_pre_post"
)
run
([],
path
=
"065fetch_pre_post"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment