mirror of
https://github.com/esphome/esphome.git
synced 2025-10-21 11:13:46 +01:00
update test
This commit is contained in:
@@ -378,19 +378,17 @@ class IDEData:
|
||||
@property
|
||||
def objdump_path(self) -> str:
|
||||
# replace gcc at end with objdump
|
||||
|
||||
# Windows
|
||||
if self.cc_path.endswith(".exe"):
|
||||
return f"{self.cc_path[:-7]}objdump.exe"
|
||||
|
||||
return f"{self.cc_path[:-3]}objdump"
|
||||
return (
|
||||
f"{self.cc_path[:-7]}objdump.exe"
|
||||
if self.cc_path.endswith(".exe")
|
||||
else f"{self.cc_path[:-3]}objdump"
|
||||
)
|
||||
|
||||
@property
|
||||
def readelf_path(self) -> str:
|
||||
# replace gcc at end with readelf
|
||||
|
||||
# Windows
|
||||
if self.cc_path.endswith(".exe"):
|
||||
return f"{self.cc_path[:-7]}readelf.exe"
|
||||
|
||||
return f"{self.cc_path[:-3]}readelf"
|
||||
return (
|
||||
f"{self.cc_path[:-7]}readelf.exe"
|
||||
if self.cc_path.endswith(".exe")
|
||||
else f"{self.cc_path[:-3]}readelf"
|
||||
)
|
||||
|
Reference in New Issue
Block a user