diff options
author | Tom de Vries <tdevries@suse.de> | 2023-08-29 11:02:08 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-08-29 11:02:08 +0200 |
commit | 130e33d8617e7663b397f35d34f3c2b2f48d9cfc (patch) | |
tree | 903f3bbb8c9fdf07cd171df98481e596fe42deec /include/ctf.h | |
parent | c58d51c612cdfd8914cefab80c350e1aa9ea3ed4 (diff) | |
download | gdb-130e33d8617e7663b397f35d34f3c2b2f48d9cfc.zip gdb-130e33d8617e7663b397f35d34f3c2b2f48d9cfc.tar.gz gdb-130e33d8617e7663b397f35d34f3c2b2f48d9cfc.tar.bz2 |
[gdb/testsuite] Check for sys/random.h in gdb.reverse/getrandom.exp
When running test-case gdb.reverse/getrandom.exp on a system with eglibc 2.19,
we run into:
...
gdb compile failed, gdb.reverse/getrandom.c:18:24: fatal error: \
sys/random.h: No such file or directory
#include <sys/random.h>
^
compilation terminated.
=== gdb Summary ===
# of untested testcases 1
...
and:
...
UNTESTED: gdb.reverse/getrandom.exp: failed to prepare
...
Fix this by testing for the presence of the header, such that we have instead:
...
UNSUPPORTED: gdb.reverse/getrandom.exp: require failed: \
have_system_header sys/random.h
...
Tested on x86_64-linux and i686-linux.
Diffstat (limited to 'include/ctf.h')
0 files changed, 0 insertions, 0 deletions