aboutsummaryrefslogtreecommitdiff
path: root/tests/extmod
diff options
context:
space:
mode:
authorDamien George2014-10-06 17:35:46 +0000
committerDamien George2014-10-06 17:35:46 +0000
commitf53c343363ce97aae391edee4f3dcf2b8e797ea3 (patch)
tree71cbb7777480bcd2b853d177b9adff4ce6621b3c /tests/extmod
parent9c6f7378f7959b642c1db8d0e7958eba60cbaa03 (diff)
tests: Force skip of LE test on non-LE arch; improve run-tests-exp.sh.
Diffstat (limited to 'tests/extmod')
-rw-r--r--tests/extmod/uctypes_ptr_le.py4
1 files changed, 4 insertions, 0 deletions
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),