aboutsummaryrefslogtreecommitdiff
path: root/lang/python/micropython/test.sh
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-10-15 22:16:44 +0800
committerRosen Penev <rosenp@gmail.com>2023-11-01 15:57:40 -0700
commitdb9202ccc52a3ef360cd1918db9376a5cfa4b25f (patch)
treec104b3fb258221a8b9d44c5bb8970312730c4792 /lang/python/micropython/test.sh
parentdc52f47abbbba839fd89c84f4aacb74abd88757f (diff)
micropython: Update to 1.21.0, refresh/redo patches
Removed 050-py-stackctrl-fix-gcc-13.patch as it has been merged in the new version. This also: * Add STRIP= (empty value) to skip micropython's stripping step, letting the OpenWrt build system control stripping. * Add a workaround for "variable might be clobbered" warning leading to build error on riscv64 (https://github.com/micropython/micropython/issues/12838). * Change Build/InstallDev to install host tools into an unversioned directory, and update micropython-lib to use the unversioned path. There is no need to keep available multiple versions of the host tools. * Add a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
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} "