Binutils: Make x86-64 testsuite work standalone
The x86-64 testsuite now defines the 'exe' variable, allowing it to run independently.
The x86-64 testsuite (x86-64/x86-64.exp) was modified to define the exe variable, which was previously introduced by a parent directory’s testsuite file. This change allows the x86-64 testsuite to be run independently without relying on the parent directory’s setup.
In Details
The x86-64/x86-64.exp testsuite relies on the exe global variable, which specifies the executable extension. Previously, this variable was only defined when running the entire binutils testsuite. This commit adds set exe [exeext] to the x86-64.exp file, ensuring it can be run in isolation.
For Context
The binutils project includes a testsuite to verify the correctness of its tools. Testsuite files often use variables to configure the tests. This change makes the x86-64 testsuite more self-contained by defining a variable that was previously assumed to be defined elsewhere, allowing developers to run the testsuite independently.