#1 Reenable test_gdb
Closed 3 years ago by vstinner. Opened 3 years ago by vstinner.
rpms/ vstinner/python3.8 reenable_test_gdb  into  master

Reenable test_gdb
Victor Stinner • 3 years ago  
file modified
-1
@@ -1093,7 +1093,6 @@ 

      %if %{with bootstrap}

      -x test_distutils \

      %endif

-     -x test_gdb \

      %ifarch %{mips64}

      -x test_ctypes \

      %endif

Python 3.8.3 skips test_gdb tests when it detects that gdb fails to
read debug information like "frame information optimized out":

https://bugs.python.org/issue40019
https://github.com/python/cpython/commit/4ced9a7611ddfd923bd8f72aa61121d0e5aeb8fc

Resolves: rhbz#1818857

rebased onto c6c0d18

3 years ago

There are 2 comments in the spec file about the skipped test, please remove them as well.

See https://src.fedoraproject.org/rpms/python3.9/c/b6195fa37800889c41629445c27853787e68b120?branch=master

I'm not longer sure about reenabling test_gdb because it fails again on Rawhide on armv7hl :-(
https://bugzilla.redhat.com/show_bug.cgi?id=1846390

I would prefer to fix the test on armv7hl before trying to reenable it on Python 3.8. I close my PR in the meanwhile.

Pull-Request has been closed by vstinner

3 years ago