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
4ebfaf4f
Commit
4ebfaf4f
authored
Oct 29, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testsuite: add tests for incorrect tools.
parent
75dbfdde
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
Manifest.py
testsuite/084bad_syn/Manifest.py
+13
-0
Manifest.py
testsuite/085bad_sim/Manifest.py
+7
-0
test_all.py
testsuite/test_all.py
+10
-0
No files found.
testsuite/084bad_syn/Manifest.py
0 → 100644
View file @
4ebfaf4f
action
=
"synthesis"
language
=
"vhdl"
syn_device
=
"xc7z030"
syn_grade
=
"-2"
syn_package
=
"ffg676"
syn_top
=
"gate"
syn_project
=
"gate.xise"
syn_tool
=
"nosynth"
files
=
[
"../files/gate.vhdl"
]
testsuite/085bad_sim/Manifest.py
0 → 100644
View file @
4ebfaf4f
action
=
"simulation"
sim_tool
=
"notool"
top_module
=
"gate3_tb"
files
=
[
"../files/gate3.vhd"
,
"../files/gate.vhdl"
,
"../files/gate3_tb.v"
]
testsuite/test_all.py
View file @
4ebfaf4f
...
...
@@ -456,6 +456,16 @@ def test_err_syn_top():
def
test_extra_modules
():
run_compare
(
path
=
"076extra_modules"
)
def
test_err_syntool
():
with
pytest
.
raises
(
SystemExit
)
as
_
:
run
([],
path
=
"084bad_syn"
)
assert
False
def
test_err_simtool
():
with
pytest
.
raises
(
SystemExit
)
as
_
:
run
([],
path
=
"085bad_sim"
)
assert
False
@
pytest
.
mark
.
xfail
def
test_xfail
():
"""This is a self-consistency test: the test is known to fail"""
...
...
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