Disable test_distutils test on riscv64

[..]
FAILED (errors=2)
test test_distutils failed
1 test failed again:
    test_distutils
== Tests result: FAILURE then FAILURE ==
413 tests OK.
10 slowest tests:
- test_multiprocessing_spawn: 10 min 59 sec
- test_asyncio: 9 min 45 sec
- test_signal: 7 min 59 sec
- test_concurrent_futures: 7 min 6 sec
- test_multiprocessing_forkserver: 5 min 12 sec
- test_multiprocessing_fork: 3 min 50 sec
- test_compileall: 3 min
- test_largefile: 2 min 14 sec
- test_pickle: 2 min 4 sec
- test_cppext: 2 min 2 sec
1 test failed:
    test_distutils
20 tests skipped:
    test_curses test_devpoll test_ioctl test_kqueue test_launcher
    test_msilib test_ossaudiodev test_smtpnet test_socketserver
    test_startfile test_tix test_tk test_ttk_guionly test_urllib2net
    test_urllibnet test_winconsoleio test_winreg test_winsound
    test_xmlrpc_net test_zipfile64
1 re-run test:
    test_distutils
Total duration: 22 min 27 sec
Tests result: FAILURE then FAILURE
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-09-18 12:46:46 +03:00
parent 13fd693961
commit 456dbafecc
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel rc2
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1.1.riscv64%{?dist}
Release: 1.2.riscv64%{?dist}
License: Python
@ -1090,6 +1090,7 @@ CheckPython() {
%ifarch riscv64
-x test_gdb \
-x test_venv \
-x test_distutils \
%endif
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
@ -1604,6 +1605,9 @@ CheckPython optimized
# ======================================================
%changelog
* Sun Sep 18 2022 David Abdurachmanov <davidlt@rivosinc.com> - 3.11.0~rc2-1.2.riscv64
- Disable test_distutils test on riscv64
* Sat Sep 17 2022 David Abdurachmanov <davidlt@rivosinc.com> - 3.11.0~rc2-1.1.riscv64
- Adjust testing for riscv64