Meta: Tweak the error in check-ak-test-files.sh a bit

This can also be tripped when the change was simply not being committed,
avoid confusing the author by simply mentioning that.
This commit is contained in:
Ali Mohammad Pur 2021-09-13 23:44:24 +04:30 committed by Ali Mohammad Pur
parent ccb53c64e9
commit 7e75a16e6f

View file

@ -10,7 +10,7 @@ MISSING_FILES=n
while IFS= read -r FILENAME; do
# Simply search whether the CMakeLists.txt *ever* mention the test files.
if ! grep -qP "${FILENAME}" Tests/AK/CMakeLists.txt ; then
echo "Tests/AK/CMakeLists.txt is missing the test file ${FILENAME}"
echo "Tests/AK/CMakeLists.txt is either missing the test file ${FILENAME} or is not in the commit's staged changes"
MISSING_FILES=y
fi
done < <(