diff options
author | Anas Nashif <anas.nashif@intel.com> | 2016-10-27 18:10:08 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2016-10-27 18:30:27 -0400 |
commit | f8dcad4a5bb268c3d96b6b1a330aa7e4eaee6102 (patch) | |
tree | 94687ec81e8055c3073f32cfad091781586a5a02 /scripts | |
parent | 27043d71e051309a8c0debfc5b366a983b2b0f3d (diff) |
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 <anas.nashif@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sanitycheck | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/sanitycheck b/scripts/sanitycheck index ff96eeb21..fe709262b 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") |