Skip to content

Running tests on a target #9101

Answered by jimmo
Kasslim asked this question in Core Development
Discussion options

You must be logged in to vote

Example: I found cpydiff/ to be a collection of failing tests meant to show the diff between Micropython and standard Python.

Yes the cpydiff is designed to be run as part of the docs generation. It uses a different script (tools/gen-cpydiff.py) to run these tests.

Besides basics/, which subfolders/tests should I expect to pass on a target? I haven't found any README or docs page with descriptions of all subfolders so any hints are welcome.

I would expect the following directories to all pass on an stm32 target.

basics, micropython, misc, extmod, float, stress, pyb, inlineasm

This is actually what run-tests.py does when it isn't given any directories -- it figures out based on the --t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kasslim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants