gh-115773: Add tests to exercise the _Py_DebugOffsets structure (#115774)

This commit is contained in:
Pablo Galindo Salgado 2024-02-28 10:17:34 +00:00 committed by GitHub
parent d53560deb2
commit 1752b51012
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 818 additions and 36 deletions

50
configure generated vendored
View file

@ -661,6 +661,8 @@ MODULE__XXTESTFUZZ_FALSE
MODULE__XXTESTFUZZ_TRUE
MODULE_XXSUBTYPE_FALSE
MODULE_XXSUBTYPE_TRUE
MODULE__TESTEXTERNALINSPECTION_FALSE
MODULE__TESTEXTERNALINSPECTION_TRUE
MODULE__TESTMULTIPHASE_FALSE
MODULE__TESTMULTIPHASE_TRUE
MODULE__TESTIMPORTMULTIPLE_FALSE
@ -17997,6 +17999,12 @@ if test "x$ac_cv_func_preadv2" = xyes
then :
printf "%s\n" "#define HAVE_PREADV2 1" >>confdefs.h
fi
ac_fn_c_check_func "$LINENO" "process_vm_readv" "ac_cv_func_process_vm_readv"
if test "x$ac_cv_func_process_vm_readv" = xyes
then :
printf "%s\n" "#define HAVE_PROCESS_VM_READV 1" >>confdefs.h
fi
ac_fn_c_check_func "$LINENO" "pthread_cond_timedwait_relative_np" "ac_cv_func_pthread_cond_timedwait_relative_np"
if test "x$ac_cv_func_pthread_cond_timedwait_relative_np" = xyes
@ -30688,6 +30696,44 @@ fi
printf "%s\n" "$py_cv_module__testmultiphase" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testexternalinspection" >&5
printf %s "checking for stdlib extension module _testexternalinspection... " >&6; }
if test "$py_cv_module__testexternalinspection" != "n/a"
then :
if test "$TEST_MODULES" = yes
then :
if true
then :
py_cv_module__testexternalinspection=yes
else $as_nop
py_cv_module__testexternalinspection=missing
fi
else $as_nop
py_cv_module__testexternalinspection=disabled
fi
fi
as_fn_append MODULE_BLOCK "MODULE__TESTEXTERNALINSPECTION_STATE=$py_cv_module__testexternalinspection$as_nl"
if test "x$py_cv_module__testexternalinspection" = xyes
then :
fi
if test "$py_cv_module__testexternalinspection" = yes; then
MODULE__TESTEXTERNALINSPECTION_TRUE=
MODULE__TESTEXTERNALINSPECTION_FALSE='#'
else
MODULE__TESTEXTERNALINSPECTION_TRUE='#'
MODULE__TESTEXTERNALINSPECTION_FALSE=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testexternalinspection" >&5
printf "%s\n" "$py_cv_module__testexternalinspection" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module xxsubtype" >&5
printf %s "checking for stdlib extension module xxsubtype... " >&6; }
if test "$py_cv_module_xxsubtype" != "n/a"
@ -31300,6 +31346,10 @@ if test -z "${MODULE__TESTMULTIPHASE_TRUE}" && test -z "${MODULE__TESTMULTIPHASE
as_fn_error $? "conditional \"MODULE__TESTMULTIPHASE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${MODULE__TESTEXTERNALINSPECTION_TRUE}" && test -z "${MODULE__TESTEXTERNALINSPECTION_FALSE}"; then
as_fn_error $? "conditional \"MODULE__TESTEXTERNALINSPECTION\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${MODULE_XXSUBTYPE_TRUE}" && test -z "${MODULE_XXSUBTYPE_FALSE}"; then
as_fn_error $? "conditional \"MODULE_XXSUBTYPE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5