From ecab8eb8fb895f89bf5d25b9892c725efff68707c7f522995c7163be71083d44 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 12 Oct 2022 10:49:10 +0000 Subject: [PATCH] Accepting request 1010119 from home:Andreas_Schwab:Factory - Suppress stripping of binary - Run tests everywhere with just the problematic ones suppressed OBS-URL: https://build.opensuse.org/request/show/1010119 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=15 --- micropython.changes | 6 ++++++ micropython.spec | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/micropython.changes b/micropython.changes index 105b1df..146363d 100644 --- a/micropython.changes +++ b/micropython.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 11 15:17:23 UTC 2022 - Andreas Schwab + +- Suppress stripping of binary +- Run tests everywhere with just the problematic ones suppressed + ------------------------------------------------------------------- Sat Jul 2 06:18:04 UTC 2022 - Christophe Giboudeaux diff --git a/micropython.spec b/micropython.spec index 8c947fb..2a4c1ad 100644 --- a/micropython.spec +++ b/micropython.spec @@ -44,20 +44,21 @@ sed -i -e "s:/usr/lib/micropython:%{_prefix}/lib/micropython:g" "ports/unix/main %build %make_build -C mpy-cross -%make_build -C ports/unix micropython +%make_build -C ports/unix micropython STRIP=true %install install -d %{buildroot}%{_bindir} install -t %{buildroot}%{_bindir} ports/unix/micropython -%ifnarch aarch64 s390x -# s390x: 3 tests failes: float_parse float_parse_doubleprec ffi_callback -# aarch64: 2 tests failed: float_parse float_parse_doubleprec -# https://github.com/micropython/micropython/issues/4176 %check +%ifnarch x86_64 +# 2 tests fail: float_parse float_parse_doubleprec +# https://github.com/micropython/micropython/pull/6024 +rm -f tests/float/float_parse.py +rm -f tests/float/float_parse_doubleprec.py +%endif export MICROPY_CPYTHON3=python3 make -C ports/unix PYTHON=%{_bindir}/python3 V=1 test -%endif %files %license LICENSE