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
b5924e1c
Commit
b5924e1c
authored
Oct 29, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for unknown filetype.
parent
d236f052
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
Manifest.py
testsuite/092bad_filetype/Manifest.py
+8
-0
unknown.foo
testsuite/092bad_filetype/unknown.foo
+0
-0
test_all.py
testsuite/test_all.py
+5
-0
No files found.
testsuite/092bad_filetype/Manifest.py
0 → 100644
View file @
b5924e1c
action
=
"simulation"
sim_tool
=
"modelsim"
sim_path
=
"fake_bin"
top_module
=
"gate"
files
=
[
"../files/gate.vhdl"
,
"unknown.foo"
]
testsuite/092bad_filetype/unknown.foo
0 → 100644
View file @
b5924e1c
testsuite/test_all.py
View file @
b5924e1c
...
...
@@ -490,6 +490,11 @@ def test_err_missing_module():
def
test_library
():
run_compare
(
path
=
"091library"
)
def
test_err_filetype
():
with
pytest
.
raises
(
SystemExit
)
as
_
:
run
([],
path
=
"092bad_filetype"
)
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