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
3e5dd9a3
Commit
3e5dd9a3
authored
Oct 30, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for svn fetch error.
parent
f8f68d81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
Manifest.py
testsuite/094err_svn/Manifest.py
+9
-0
test_all.py
testsuite/test_all.py
+5
-0
No files found.
testsuite/094err_svn/Manifest.py
0 → 100644
View file @
3e5dd9a3
action
=
"simulation"
sim_tool
=
"modelsim"
top_module
=
"gate"
fetchto
=
"ipcores"
files
=
[
"../files/gate.vhdl"
]
modules
=
{
"svn"
:
"http://test.org:tester/unknown"
}
testsuite/test_all.py
View file @
3e5dd9a3
...
...
@@ -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'
])
...
...
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