From f53c343363ce97aae391edee4f3dcf2b8e797ea3 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 6 Oct 2014 17:35:46 +0000 Subject: tests: Force skip of LE test on non-LE arch; improve run-tests-exp.sh. --- tests/extmod/uctypes_ptr_le.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/extmod') diff --git a/tests/extmod/uctypes_ptr_le.py b/tests/extmod/uctypes_ptr_le.py index 4125dd86f..d2ceb76f4 100644 --- a/tests/extmod/uctypes_ptr_le.py +++ b/tests/extmod/uctypes_ptr_le.py @@ -1,5 +1,9 @@ import uctypes +if sys.byteorder != "little": + print("SKIP") + sys.exit() + desc = { "ptr": (uctypes.PTR | 0, uctypes.UINT8), "ptr16": (uctypes.PTR | 0, uctypes.UINT16), -- cgit v1.2.3