From f8dcad4a5bb268c3d96b6b1a330aa7e4eaee6102 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 27 Oct 2016 18:10:08 -0400 Subject: [PATCH] sanitycheck: filter out the prebuilt.elf introduced by Makefile cleanup commit 018b831a369d6b3435bd1d6ecfe7b77915dd0acf keeps another elf file in the outdir which confused the sanitycheck script. Change-Id: I87a9bcee6afe6526ecc24f1f5d9cf38101247ce2 Signed-off-by: Anas Nashif --- scripts/sanitycheck | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/sanitycheck b/scripts/sanitycheck index ff96eeb217c..fe709262b97 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -1194,6 +1194,7 @@ class TestInstance: @return A SizeCalculator object """ 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): raise BuildError("Missing/multiple output ELF binary")