Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit bcfe06b

Browse files
committed
3 tests failed, added missing dir
1 parent 7c0e27f commit bcfe06b

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

python3.spec

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# based on PLD Linux spec git://git.pld-linux.org/packages/python3.git
22

33
%bcond_with tests # skip tests
4-
# 6 skips unexpected on linux:
5-
# test_idle test_ioctl test_tcl test_tk test_ttk_guionly
6-
# test_ttk_textonly
4+
# 366 tests OK.
5+
# 3 tests failed:
6+
# test_distutils test_socket test_strptime
7+
# 15 tests skipped:
8+
# test_devpoll test_idle test_kqueue test_msilib test_ossaudiodev
9+
# test_pep277 test_startfile test_tcl test_tk test_ttk_guionly
10+
# test_ttk_textonly test_unicode_file test_winreg test_winsound
11+
# test_zipfile64
712

813
%define py_ver 3.4
914
%define py_abi %{py_ver}m
@@ -239,9 +244,9 @@ install -p Tools/scripts/reindent.py $RPM_BUILD_ROOT%{_bindir}/pyreindent%{py_ve
239244

240245
%if %{with tests}
241246
%check
242-
LC_ALL=C
243-
export LC_ALL
244-
LD_LIBRARY_PATH=`pwd` ./python -m test.regrtest -x test_posixpath test_logging
247+
export LC_ALL=C
248+
export TERM=screen
249+
LD_LIBRARY_PATH=$(pwd) ./python -m test.regrtest -uall -x test_posixpath test_uuid test_site test_urllib2_localnet test_gdb
245250
%endif
246251

247252
%clean
@@ -338,6 +343,8 @@ rm -rf $RPM_BUILD_ROOT
338343
%{py_scriptdir}/__pycache__/weakref.cpython-*.py[co]
339344
%{py_scriptdir}/types.py
340345

346+
%{py_scriptdir}/collections
347+
341348
# encodings required by python library
342349
%dir %{py_scriptdir}/encodings
343350
%{py_scriptdir}/encodings/__pycache__

0 commit comments

Comments
 (0)