1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-21 19:23:45 +01:00

update test

This commit is contained in:
J. Nick Koston
2025-10-17 18:29:36 -10:00
parent 7e54803ede
commit 85e0a4fbf9

View File

@@ -378,19 +378,17 @@ class IDEData:
@property @property
def objdump_path(self) -> str: def objdump_path(self) -> str:
# replace gcc at end with objdump # replace gcc at end with objdump
return (
# Windows f"{self.cc_path[:-7]}objdump.exe"
if self.cc_path.endswith(".exe"): if self.cc_path.endswith(".exe")
return f"{self.cc_path[:-7]}objdump.exe" else f"{self.cc_path[:-3]}objdump"
)
return f"{self.cc_path[:-3]}objdump"
@property @property
def readelf_path(self) -> str: def readelf_path(self) -> str:
# replace gcc at end with readelf # replace gcc at end with readelf
return (
# Windows f"{self.cc_path[:-7]}readelf.exe"
if self.cc_path.endswith(".exe"): if self.cc_path.endswith(".exe")
return f"{self.cc_path[:-7]}readelf.exe" else f"{self.cc_path[:-3]}readelf"
)
return f"{self.cc_path[:-3]}readelf"