Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rkx7-litex-boards
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
rkx7-litex-boards
Commits
f0a62977
Commit
f0a62977
authored
3 years ago
by
Florent Kermarrec
Browse files
Options
Downloads
Patches
Plain Diff
test/test_targets: Add excluded_platforms/targets lists and add quicklogic_quickfeather to it.
parent
e8611794
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_targets.py
+5
-2
5 additions, 2 deletions
test/test_targets.py
with
5 additions
and
2 deletions
test/test_targets.py
+
5
−
2
View file @
f0a62977
...
...
@@ -14,6 +14,9 @@ from migen import *
from
litex.soc.integration.builder
import
*
class
TestTargets
(
unittest
.
TestCase
):
excluded_platforms
=
[
"
qmtech_daughterboard
"
,
"
quicklogic_quickfeather
"
]
excluded_targets
=
[
"
simple
"
,
"
quicklogic_quickfeather
"
]
# Build simple design for all platforms.
def
test_platforms
(
self
):
# Collect platforms.
...
...
@@ -21,7 +24,7 @@ class TestTargets(unittest.TestCase):
for
file
in
os
.
listdir
(
"
./litex_boards/platforms/
"
):
if
file
.
endswith
(
"
.py
"
):
file
=
file
.
replace
(
"
.py
"
,
""
)
if
file
not
in
[
"
__init__
"
,
"
qmtech_daughterboard
"
]
:
if
file
not
in
[
"
__init__
"
]
+
self
.
excluded_platforms
:
platforms
.
append
(
file
)
# Test platforms with simple design.
...
...
@@ -43,7 +46,7 @@ python3 -m litex_boards.targets.simple litex_boards.platforms.{} \
for
file
in
os
.
listdir
(
"
./litex_boards/targets/
"
):
if
file
.
endswith
(
"
.py
"
):
file
=
file
.
replace
(
"
.py
"
,
""
)
if
file
not
in
[
"
__init__
"
,
"
simple
"
]
:
if
file
not
in
[
"
__init__
"
]
+
self
.
excluded_targets
:
targets
.
append
(
file
)
# Test targets.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment