src: wv_harness: only add pn if not already in name
This commit is contained in:
parent
f20e660010
commit
0f06b45c06
@ -52,7 +52,7 @@ class Harness:
|
||||
def name(self) -> str:
|
||||
pn = self.metadata.get("pn", "")
|
||||
output_name = self.metadata["output_name"]
|
||||
if pn:
|
||||
if pn and pn not in output_name:
|
||||
return f"{pn}-{output_name}"
|
||||
else:
|
||||
return output_name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user