]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
binutils: make x86-64/x86-64.exp work again by itself
authorJan Beulich <jbeulich@suse.com>
Fri, 22 May 2026 06:46:29 +0000 (08:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 May 2026 06:46:29 +0000 (08:46 +0200)
The "exe" global is introduced only by some *.exp in the parent dir, which
may not be run.

binutils/testsuite/binutils-all/x86-64/x86-64.exp

index 49ade490fb748f9881047f7c6bb19fe0dc313e1b..bb187b5805f0d7339ed29df706093278e6f5b3e9 100644 (file)
@@ -28,6 +28,8 @@ foreach t $test_list {
     run_dump_test [file rootname $t]
 }
 
+set exe [exeext]
+
 set t $srcdir/$subdir/pr26808.dwp.bz2
 # We need to strip the ".bz2", but can leave the dirname.
 set test $subdir/[file tail $t]