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
f30f91b2
Commit
f30f91b2
authored
Jun 14, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for vlog include file not found.
parent
04901db5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
Manifest.py
testsuite/077err_vlg_include/Manifest.py
+7
-0
vlog.v
testsuite/077err_vlg_include/vlog.v
+5
-0
test_all.py
testsuite/test_all.py
+4
-0
No files found.
testsuite/077err_vlg_include/Manifest.py
0 → 100644
View file @
f30f91b2
action
=
"simulation"
sim_tool
=
"modelsim"
top_module
=
"gate"
files
=
[
"vlog.v"
]
testsuite/077err_vlg_include/vlog.v
0 → 100644
View file @
f30f91b2
`include
"notfount.vh"
module
gate
;
wire
w3
;
endmodule
testsuite/test_all.py
View file @
f30f91b2
...
...
@@ -367,6 +367,10 @@ def test_err_manifest_key():
def
test_svlog_parser
():
run_compare
(
path
=
"052svlog_parser"
)
def
test_err_vlog_include
():
with
pytest
.
raises
(
SystemExit
)
as
_
:
run
([],
path
=
"077err_vlg_include"
)
def
test_dep_level
():
run
([
'list-files'
],
path
=
"053vlog_dep_level"
)
run
([
'list-files'
,
'--delimiter'
,
','
],
path
=
"053vlog_dep_level"
)
...
...
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