aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2025-09-23 10:38:22 +0100
committerPedro Alves <pedro@palves.net>2025-09-23 10:42:51 +0100
commited5f67b8f75c46b7a264d38f4f1d98adfc3b976c (patch)
treeda97cb6e40c81e90f7888838676b2781951095e6 /gdb/python/python-internal.h
parent9ca499644a21ceb3f946d1c179c38a83be084490 (diff)
downloadbinutils-ed5f67b8f75c46b7a264d38f4f1d98adfc3b976c.zip
binutils-ed5f67b8f75c46b7a264d38f4f1d98adfc3b976c.tar.gz
binutils-ed5f67b8f75c46b7a264d38f4f1d98adfc3b976c.tar.bz2
Skip gdb.base/libsegfault.exp on Windows
Running gdb.base/libsegfault.exp on Cygwin/MSYS2 causes badness. E.g. on Cygwin: $ make check-parallel TESTS="gdb.base/libsegfault.exp" ... Running /home/alves/gdb/src/gdb/testsuite/gdb.base/libsegfault.exp ... 0 [main] expect 6611 C:\cygwin64\bin\expect.exe: *** fatal error in forked process - error while loading shared libraries: libSegFault.so: cannot open shared object file: No such file or directory *** starting '"C:\cygwin64\bin\dumper.exe" -n "C:\cygwin64\bin\expect.exe" 8012' for pid 6611, tid 7992 *** continuing pid 6611 parent: sync byte write: broken pipe make[1]: *** [Makefile:320: check/gdb.base/libsegfault.exp] Error 255 make[1]: Target 'do-check-parallel' not remade because of errors. make[1]: Leaving directory '/home/alves/gdb/build-cygwin-testsuite' outputs/gdb.base/libsegfault/gdb.sum: no recognised summary line outputs/gdb.base/libsegfault/gdb.log: no recognised summary line make: *** [Makefile:260: check-parallel] Error 2 $ I.e., Expect's spawn fails, and that brings down the whole Expect process. The result is that in serial mode, the test run just stops. And in parallel mode we end up with incomplete gdb.sum/gdb.log files, which dg-extract-results.sh can't process. Since libSegFault.so is a glibc feature that doesn't exist on Cygwin/MSYS2, just skip the test there. Approved-by: Kevin Buettner <kevinb@redhat.com> Change-Id: I44bdbffa25a5d21c5019418b68776d334a57be26
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions