binutils testsuite: canonicalize subtest names in libctf

Previous code included the full $srcdir pathnames in the individual
subtest PASS/FAIL names, which makes it difficult to compute
comparisons or regressions between test runs on different machines.
This version switches to the basename only, which are common.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
This commit is contained in:
Frank Ch. Eigler
2024-09-20 16:23:48 -04:00
parent 3babc2e220
commit 4eb048d448
2 changed files with 8 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ global testname
global subsrcdir
set subsrcdir "$srcdir/$subdir/"
set testname "$dir/libctf-repeat-cu.exp"
set testname "libctf-repeat-cu.exp"
if ![is_elf_format] {
unsupported "CTF needs bfd changes to be emitted on non-ELF"