-
- Downloads
tests: Add a suite of tests specifically for the pyboard.
In tests/pyb is now a suite of tests that tests the pyb module on the pyboard. They include expected output files because we can't run CPython on the pyboard to compare against. run-tests script has now been updated to allow pyboard tests to be run. Just pass the option --pyboard. This runs all basic, float and pyb tests. Note that float/math-fun.py currently fails because not all math functions are implemented in stmhal/.
Showing
- tests/pyb/spi.py 17 additions, 0 deletionstests/pyb/spi.py
- tests/pyb/spi.py.exp 5 additions, 0 deletionstests/pyb/spi.py.exp
- tests/pyb/switch.py 6 additions, 0 deletionstests/pyb/switch.py
- tests/pyb/switch.py.exp 1 addition, 0 deletionstests/pyb/switch.py.exp
- tests/pyb/timer.py 28 additions, 0 deletionstests/pyb/timer.py
- tests/pyb/timer.py.exp 6 additions, 0 deletionstests/pyb/timer.py.exp
- tests/pyb/uart.py 12 additions, 0 deletionstests/pyb/uart.py
- tests/pyb/uart.py.exp 2 additions, 0 deletionstests/pyb/uart.py.exp
- tests/pyboard.py 1 addition, 0 deletionstests/pyboard.py
- tests/run-tests 102 additions, 70 deletionstests/run-tests
Loading
Please register or sign in to comment