-
- 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/accel.py 7 additions, 0 deletionstests/pyb/accel.py
- tests/pyb/accel.py.exp 1 addition, 0 deletionstests/pyb/accel.py.exp
- tests/pyb/adc.py 10 additions, 0 deletionstests/pyb/adc.py
- tests/pyb/adc.py.exp 1 addition, 0 deletionstests/pyb/adc.py.exp
- tests/pyb/dac.py 8 additions, 0 deletionstests/pyb/dac.py
- tests/pyb/dac.py.exp 1 addition, 0 deletionstests/pyb/dac.py.exp
- tests/pyb/extint.py 6 additions, 0 deletionstests/pyb/extint.py
- tests/pyb/extint.py.exp 2 additions, 0 deletionstests/pyb/extint.py.exp
- tests/pyb/i2c.py 23 additions, 0 deletionstests/pyb/i2c.py
- tests/pyb/i2c.py.exp 4 additions, 0 deletionstests/pyb/i2c.py.exp
- tests/pyb/led.py 28 additions, 0 deletionstests/pyb/led.py
- tests/pyb/led.py.exp 4 additions, 0 deletionstests/pyb/led.py.exp
- tests/pyb/pin.py 29 additions, 0 deletionstests/pyb/pin.py
- tests/pyb/pin.py.exp 12 additions, 0 deletionstests/pyb/pin.py.exp
- tests/pyb/pyb1.py 42 additions, 0 deletionstests/pyb/pyb1.py
- tests/pyb/pyb1.py.exp 5 additions, 0 deletionstests/pyb/pyb1.py.exp
- tests/pyb/rtc.py 6 additions, 0 deletionstests/pyb/rtc.py
- tests/pyb/rtc.py.exp 2 additions, 0 deletionstests/pyb/rtc.py.exp
- tests/pyb/servo.py 16 additions, 0 deletionstests/pyb/servo.py
- tests/pyb/servo.py.exp 3 additions, 0 deletionstests/pyb/servo.py.exp
Loading
Please register or sign in to comment