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
ed6e9881
Commit
ed6e9881
authored
Jun 06, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test 041err_syn
parent
1670ec89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
Manifest.py
testsuite/041err_syn/Manifest.py
+11
-0
test_all.py
testsuite/test_all.py
+9
-3
No files found.
testsuite/041err_syn/Manifest.py
0 → 100644
View file @
ed6e9881
action
=
"synthesis"
language
=
"vhdl"
syn_device
=
"xc6slx45t"
syn_grade
=
"-3"
syn_package
=
"fgg484"
syn_top
=
"gate"
syn_project
=
"gate.xise"
files
=
[
"../files/gate.vhdl"
]
testsuite/test_all.py
View file @
ed6e9881
...
...
@@ -13,7 +13,7 @@ class Config(object):
self
.
prev_env_path
=
os
.
environ
[
'PATH'
]
self
.
prev_check_windows
=
hdlmake
.
util
.
shell
.
check_windows
self
.
check_windows
=
check_windows
def
__enter__
(
self
):
os
.
environ
[
'PATH'
]
=
(
"../linux_fakebin:"
+
os
.
path
.
abspath
(
'linux_fakebin'
)
+
':'
...
...
@@ -52,10 +52,10 @@ def test_makefile_002():
def
test_makefile_003
():
run_compare
(
path
=
"003msim"
)
def
test_makefile_004
():
run_compare
(
path
=
"004msim"
)
def
test_fetch
():
run
([
'fetch'
],
path
=
"001ise"
)
...
...
@@ -209,6 +209,12 @@ def test_manifest_vars():
def
test_srcfiles
():
run_compare
(
path
=
"040srcfiles"
)
def
test_no_syn_tool
():
with
pytest
.
raises
(
SystemExit
)
as
_
:
run
([],
path
=
"041err_syn"
)
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