sanitycheck: filter out the prebuilt.elf introduced by Makefile cleanup
commit 018b831a36
keeps another elf file in the
outdir which confused the sanitycheck script.
Change-Id: I87a9bcee6afe6526ecc24f1f5d9cf38101247ce2
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
27043d71e0
commit
f8dcad4a5b
1 changed files with 1 additions and 0 deletions
|
@ -1194,6 +1194,7 @@ class TestInstance:
|
||||||
@return A SizeCalculator object
|
@return A SizeCalculator object
|
||||||
"""
|
"""
|
||||||
fns = glob.glob(os.path.join(self.outdir, "*.elf"))
|
fns = glob.glob(os.path.join(self.outdir, "*.elf"))
|
||||||
|
fns = [x for x in fns if not x.endswith('_prebuilt.elf')]
|
||||||
if (len(fns) != 1):
|
if (len(fns) != 1):
|
||||||
raise BuildError("Missing/multiple output ELF binary")
|
raise BuildError("Missing/multiple output ELF binary")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue