mirror of
https://github.com/esphome/esphome.git
synced 2025-10-21 19:23:45 +01:00
update test
This commit is contained in:
@@ -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"
|
|
||||||
|
Reference in New Issue
Block a user