summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2024-09-05 21:11:11 +0200
committerDamien George <damien@micropython.org>2024-09-19 13:49:12 +1000
commit46d8db81d33e6da383ebf0fd0a063ea1f1948ce1 (patch)
treeacc462f3f38f19832573badace20d25147f16162
parent52d5f3988182e3fe181b88f9b64f6dc02655a898 (diff)
tools/ci.sh: Clean up the Unix port's Arm target.
The Unix port's Arm target CI steps have been updated to be more in line with the other targets (the MicroPython binary doesn't need an environment variable to be set in order to run now). Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
-rwxr-xr-xtools/ci.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ci.sh b/tools/ci.sh
index c6decb5aa..c25979d3b 100755
--- a/tools/ci.sh
+++ b/tools/ci.sh
@@ -674,6 +674,8 @@ function ci_unix_qemu_arm_setup {
sudo apt-get install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
sudo apt-get install qemu-user
qemu-arm --version
+ sudo mkdir /etc/qemu-binfmt
+ sudo ln -s /usr/arm-linux-gnueabi/ /etc/qemu-binfmt/arm
}
function ci_unix_qemu_arm_build {
@@ -684,7 +686,6 @@ function ci_unix_qemu_arm_build {
function ci_unix_qemu_arm_run_tests {
# Issues with ARM tests:
# - (i)listdir does not work, it always returns the empty list (it's an issue with the underlying C call)
- export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi
file ./ports/unix/build-coverage/micropython
(cd tests && MICROPY_MICROPYTHON=../ports/unix/build-coverage/micropython ./run-tests.py --exclude 'vfs_posix.*\.py')
}