check_integrity.sh: check only version controlled files.
Checking files customized by the user is out of scope of this tool and sometimes even workflow hindering.
This commit is contained in:
parent
595dd017ea
commit
32f10e4f4b
|
|
@ -33,7 +33,7 @@ for T in "board" "printer"; do
|
|||
print $2;
|
||||
}
|
||||
' < ../configtool/${T}.generic.h | while read W; do
|
||||
for F in ${T}.*.h ../testcases/config.h.Profiling; do
|
||||
for F in $(git ls-files ${T}.\*.h ../testcases/config.h.Profiling); do
|
||||
if ! grep "#define" ${F} | grep -q ${W}; then
|
||||
echo "Missing #define ${W} in ${F}."
|
||||
echo 1 > ${EXITFILE}
|
||||
|
|
|
|||
Loading…
Reference in New Issue