forked from pool/micropython
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
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 15:17:23 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Suppress stripping of binary
|
||||
- Run tests everywhere with just the problematic ones suppressed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 2 06:18:04 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user