From 41f768f3f336678ad7735c24f6f2e7814acd1988 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 3 May 2014 16:43:27 +0100 Subject: 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/. --- tests/pyb/uart.py.exp | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/pyb/uart.py.exp (limited to 'tests/pyb/uart.py.exp') diff --git a/tests/pyb/uart.py.exp b/tests/pyb/uart.py.exp new file mode 100644 index 000000000..58ded4d84 --- /dev/null +++ b/tests/pyb/uart.py.exp @@ -0,0 +1,2 @@ +UART(1, baudrate=9600, bits=8, stop=1, parity=None) +UART(1, baudrate=1200, bits=8, stop=1, parity=None) -- cgit v1.2.3