summaryrefslogtreecommitdiff
path: root/tests/pyb/can.py.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/can.py.exp')
-rw-r--r--tests/pyb/can.py.exp40
1 files changed, 25 insertions, 15 deletions
diff --git a/tests/pyb/can.py.exp b/tests/pyb/can.py.exp
index 845f6d5ba..ec6f97ea0 100644
--- a/tests/pyb/can.py.exp
+++ b/tests/pyb/can.py.exp
@@ -2,9 +2,9 @@ CAN(1)
CAN(1, CAN.LOOPBACK, extframe=False)
False
True
-(123, 0, 0, b'abcd')
-(2047, 0, 0, b'abcd')
-(0, 0, 0, b'abcd')
+(123, False, 0, b'abcd')
+(2047, False, 0, b'abcd')
+(0, False, 0, b'abcd')
passed
CAN(1, CAN.LOOPBACK, extframe=True)
passed
@@ -20,21 +20,31 @@ cb1
full
cb1a
overflow
-(1, 0, 0, b'11111111')
-(2, 0, 1, b'22222222')
-(4, 0, 3, b'44444444')
-(5, 0, 0, b'55555555')
-(6, 0, 1, b'66666666')
-(8, 0, 3, b'88888888')
+(1, False, 0, b'11111111')
+(2, False, 1, b'22222222')
+(4, False, 3, b'44444444')
+(5, False, 0, b'55555555')
+(6, False, 1, b'66666666')
+(8, False, 3, b'88888888')
cb0a
pending
cb1a
pending
-(1, 0, 0, b'11111111')
-(5, 0, 0, b'55555555')
+(1, False, 0, b'11111111')
+(5, False, 0, b'55555555')
False
-(1, 0, 0, b'abcde')
+(1, False, 0, b'abcde')
passed
-(2, 0, 0, b'abcde')
-(3, 0, 0, b'abcde')
-(4, 0, 0, b'abcde')
+(2, False, 0, b'abcde')
+(3, False, 0, b'abcde')
+(4, False, 0, b'abcde')
+False
+(5, True, 4, b'')
+(6, True, 5, b'')
+(7, True, 6, b'')
+False
+(32, True, 9, b'')
+(1, True, 0, b'')
+(2, True, 1, b'')
+(3, True, 2, b'')
+False