aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-regression
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2024-09-20 16:23:48 -0400
committerFrank Ch. Eigler <fche@redhat.com>2024-09-24 21:50:41 -0400
commit4eb048d448835e9a612643858b2ec49c6b520b65 (patch)
tree3de65223d39862167f4a70cdfe87af603655fd85 /libctf/testsuite/libctf-regression
parent3babc2e220a9f20d699bfb9c6013f390fbb74a69 (diff)
downloadbinutils-4eb048d448835e9a612643858b2ec49c6b520b65.zip
binutils-4eb048d448835e9a612643858b2ec49c6b520b65.tar.gz
binutils-4eb048d448835e9a612643858b2ec49c6b520b65.tar.bz2
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>
Diffstat (limited to 'libctf/testsuite/libctf-regression')
-rw-r--r--libctf/testsuite/libctf-regression/libctf-repeat-cu.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/testsuite/libctf-regression/libctf-repeat-cu.exp b/libctf/testsuite/libctf-regression/libctf-repeat-cu.exp
index 2f14119..6bfeac3 100644
--- a/libctf/testsuite/libctf-regression/libctf-repeat-cu.exp
+++ b/libctf/testsuite/libctf-regression/libctf-repeat-cu.exp
@@ -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"