diff options
author | Pedro Alves <pedro@palves.net> | 2025-08-13 01:21:10 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2025-08-22 19:20:44 +0100 |
commit | 3214cb0ce58245516d35cd93887f0d3bc14b5ebf (patch) | |
tree | 0758c3722096d6321cc271fc285e49bb6e9d072f /gdb/python | |
parent | d33a66a31134bd63c4945d0d570e7296aaac3574 (diff) | |
download | gdb-3214cb0ce58245516d35cd93887f0d3bc14b5ebf.zip gdb-3214cb0ce58245516d35cd93887f0d3bc14b5ebf.tar.gz gdb-3214cb0ce58245516d35cd93887f0d3bc14b5ebf.tar.bz2 |
Automatically handle includes in testsuite/lib/
Instead of manually calling lappend_include_file in every testcase
that needs to include a file in testsuite/lib/, handle testsuite/lib/
includes automatically in gdb_compile.
As an example, gdb.base/backtrace.exp is adjusted to no longer
explicitly call lappend_include_file for testsuite/lib/attributes.h.
Tested on x86-64 GNU/Linux with both:
$ make check RUNTESTFLAGS=" \
--host_board=local-remote-host-native \
--target_board=local-remote-host-native \
HOST_DIR=/tmp/foo/" \
TESTS="gdb.base/backtrace.exp"
and:
$ make check TESTS="gdb.base/backtrace.exp"
and confirming that the testcase still compiles and passes cleanly.
Also ran full testsuite on x86-64 GNU/Linux in normal mode.
Approved-by: Kevin Buettner <kevinb@redhat.com>
Change-Id: I5ca77426ea4a753a995c3ad125618c02cd952576
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions