Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
5d07d0c7
Commit
5d07d0c7
authored
May 27, 2024
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/run-natmodtests.py: Fix search for supported native tests.
Signed-off-by:
Damien George
<
damien@micropython.org
>
parent
df419137
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/run-natmodtests.py
tests/run-natmodtests.py
+2
-1
No files found.
tests/run-natmodtests.py
View file @
5d07d0c7
...
...
@@ -97,8 +97,9 @@ class TargetPyboard:
def
run_tests
(
target_truth
,
target
,
args
,
stats
):
for
test_file
in
args
.
files
:
# Find supported test
test_file_basename
=
os
.
path
.
basename
(
test_file
)
for
k
,
v
in
TEST_MAPPINGS
.
items
():
if
test_file
.
find
(
k
)
!=
-
1
:
if
test_file
_basename
.
startswith
(
k
)
:
test_module
=
k
test_mpy
=
v
.
replace
(
"$(ARCH)"
,
args
.
arch
)
break
...
...
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