Do not normalize build_exe in pcodetests definitions

In pcodetests definition, build_exe is an integer set to 1 when an
executable may be built. Contrary to other *_exe fields, it is not the
name of a command and therefore should not be normalized with exec_dir.

Fixes: 71cd33572c ("GP-6007: Updated NDS32 analyzer and elf relocation
handler and test fixups")
This commit is contained in:
Nicolas Iooss
2026-07-14 16:16:37 +02:00
committed by ghidorahrex
parent 253fdc8c67
commit ce37accf24

View File

@@ -91,7 +91,6 @@ class PCodeTestBuild(BuildUtil):
# make sure compiler exists and runnable
self.config.compile_exe = self.config.exec_dir + self.config.exec_prefix + self.config.compile_exe
self.config.build_exe = self.config.exec_dir + str(self.config.exec_prefix) + str(self.config.build_exe)
self.config.strip_exe = self.config.exec_dir + str(self.config.exec_prefix) + str(self.config.strip_exe)
self.config.objdump_exe = self.config.exec_dir + str(self.config.exec_prefix) + str(self.config.objdump_exe)
self.config.readelf_exe = self.config.exec_dir + str(self.config.exec_prefix) + str(self.config.readelf_exe)