[binutils-gdb] binutils: make x86-64/x86-64.exp work again by itself

Jan Beulich via Binutils-cvs <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=618291699e276eb385d9b2dc687897534eacfa3e

commit 618291699e276eb385d9b2dc687897534eacfa3e
Author: Jan Beulich <[email protected]>
Date:   Fri May 22 08:46:29 2026 +0200

    binutils: make x86-64/x86-64.exp work again by itself
    
    The "exe" global is introduced only by some *.exp in the parent dir, which
    may not be run.

Diff:
---
 binutils/testsuite/binutils-all/x86-64/x86-64.exp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/binutils/testsuite/binutils-all/x86-64/x86-64.exp b/binutils/testsuite/binutils-all/x86-64/x86-64.exp
index 49ade490fb7..bb187b5805f 100644
--- a/binutils/testsuite/binutils-all/x86-64/x86-64.exp
+++ b/binutils/testsuite/binutils-all/x86-64/x86-64.exp
@@ -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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.