autobuild: verify that generated files are ignored
Change-Id: Ife2dc741b7d9abe7e3aee6db6e5ad21a0170971c Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/366333 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
619ab1a700
commit
0c25463da0
@ -49,6 +49,13 @@ else
|
|||||||
fi
|
fi
|
||||||
timing_exit scanbuild_make
|
timing_exit scanbuild_make
|
||||||
|
|
||||||
|
# Check for generated files that are not listed in .gitignore
|
||||||
|
if [ `git status --porcelain | wc -l` -ne 0 ]; then
|
||||||
|
echo "Generated files missing from .gitignore:"
|
||||||
|
git status --porcelain
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Check that header file dependencies are working correctly by
|
# Check that header file dependencies are working correctly by
|
||||||
# capturing a binary's stat data before and after touching a
|
# capturing a binary's stat data before and after touching a
|
||||||
# header file and re-making.
|
# header file and re-making.
|
||||||
|
Loading…
Reference in New Issue
Block a user