Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
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
Container registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
f54b3527
Commit
f54b3527
authored
7 years ago
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
tests/run-tests: Fix copy-paste mistake in var name.
parent
d1f90900
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/run-tests
+12
-12
12 additions, 12 deletions
tests/run-tests
with
12 additions
and
12 deletions
tests/run-tests
+
12
−
12
View file @
f54b3527
...
...
@@ -210,33 +210,33 @@ def run_tests(pyb, tests, args, base_path="."):
skip_revops
=
False
# Check if micropython.native is supported, and skip such tests if it's not
native
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
native_check.py
'
)
if
native
==
b
'
CRASH
'
:
output
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
native_check.py
'
)
if
output
==
b
'
CRASH
'
:
skip_native
=
True
# Check if arbitrary-precision integers are supported, and skip such tests if it's not
native
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
int_big.py
'
)
if
native
!=
b
'
1000000000000000000000000000000000000000000000
\n
'
:
output
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
int_big.py
'
)
if
output
!=
b
'
1000000000000000000000000000000000000000000000
\n
'
:
skip_int_big
=
True
# Check if set type (and set literals) is supported, and skip such tests if it's not
native
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
set_check.py
'
)
if
native
==
b
'
CRASH
'
:
output
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
set_check.py
'
)
if
output
==
b
'
CRASH
'
:
skip_set_type
=
True
# Check if async/await keywords are supported, and skip such tests if it's not
native
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
async_check.py
'
)
if
native
==
b
'
CRASH
'
:
output
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
async_check.py
'
)
if
output
==
b
'
CRASH
'
:
skip_async
=
True
# Check if const keyword (MicroPython extension) is supported, and skip such tests if it's not
native
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
const.py
'
)
if
native
==
b
'
CRASH
'
:
output
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
const.py
'
)
if
output
==
b
'
CRASH
'
:
skip_const
=
True
# Check if __rOP__ special methods are supported, and skip such tests if it's not
native
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
reverse_ops.py
'
)
if
native
==
b
'
TypeError
\n
'
:
output
=
run_feature_check
(
pyb
,
args
,
base_path
,
'
reverse_ops.py
'
)
if
output
==
b
'
TypeError
\n
'
:
skip_revops
=
True
# Check if emacs repl is supported, and skip such tests if it's not
...
...
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