testimage: Only note missing target directories, don't warn

We don't need to see warnings for missing target debug directories. Just
show a note in the logs instead.

(From OE-Core rev: 52db25c58069c4f440da33daf0474255c9fa870b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2023-06-17 11:50:20 +01:00
parent 58206ea8d9
commit 5967a90e8a

View File

@@ -212,7 +212,7 @@ def get_artifacts_list(target, raw_list):
raise Exception()
result += output.split()
except:
bb.warn(f"No file/directory matching path {raw_path}")
bb.note(f"No file/directory matching path {raw_path}")
return result