diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-07-31 20:38:41 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-07-31 20:38:41 -0400 |
commit | 64fbaf36a3834c394422cdf86985c7cc45179925 (patch) | |
tree | 0657710ebb578af0bfd7342837fb5aebc1102538 /gcc/dwarf2codeview.cc | |
parent | 55982d1682921fdaf595c28f84f63d600558d150 (diff) | |
download | gcc-64fbaf36a3834c394422cdf86985c7cc45179925.zip gcc-64fbaf36a3834c394422cdf86985c7cc45179925.tar.gz gcc-64fbaf36a3834c394422cdf86985c7cc45179925.tar.bz2 |
testsuite: split out parts of jit.dg/jit.exp into a new lib/valgrind.exp
I want to reuse some of the support for valgrind in jit.exp
in my upcoming testsuite for https://gcc.gnu.org/wiki/libdiagnostics
so this patch splits that out into a valgrind.exp.
No functional change intended.
gcc/testsuite/ChangeLog:
* jit.dg/jit.exp: Add load_lib valgrind.exp.
(proc report_leak): Move to valgrind.exp, and add argument
leak_report_function rather than hardcoding xfail.
(parse_valgrind_logfile): Likewise.
(fixed_host_execute): Pass xfail to parse_valgrind_logfile.
* lib/valgrind.exp: New file, based on the above.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/dwarf2codeview.cc')
0 files changed, 0 insertions, 0 deletions