aboutsummaryrefslogtreecommitdiff
path: root/lang/python/micropython/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/micropython/test.sh')
-rw-r--r--lang/python/micropython/test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python/micropython/test.sh b/lang/python/micropython/test.sh
new file mode 100644
index 000000000..82cf2ecd0
--- /dev/null
+++ b/lang/python/micropython/test.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+nl="
+"
+
+micropython -c "import sys${nl}print(sys.version)" | grep -F " MicroPython v${PKG_VERSION} "