summaryrefslogtreecommitdiff
path: root/tests/extmod/framebuf16.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/framebuf16.py')
-rw-r--r--tests/extmod/framebuf16.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/extmod/framebuf16.py b/tests/extmod/framebuf16.py
index e658f1345..cd7f5ec01 100644
--- a/tests/extmod/framebuf16.py
+++ b/tests/extmod/framebuf16.py
@@ -1,9 +1,14 @@
try:
- import framebuf
+ import framebuf, usys
except ImportError:
print("SKIP")
raise SystemExit
+# This test and its .exp file is based on a little-endian architecture.
+if usys.byteorder != "little":
+ print("SKIP")
+ raise SystemExit
+
def printbuf():
print("--8<--")