1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09:00

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
Notes: sideshowbarker 2024-07-18 03:58:37 +09:00

View file

@ -10,7 +10,7 @@ MISSING_FILES=n
while IFS= read -r FILENAME; do while IFS= read -r FILENAME; do
# Simply search whether the CMakeLists.txt *ever* mention the test files. # Simply search whether the CMakeLists.txt *ever* mention the test files.
if ! grep -qP "${FILENAME}" Tests/AK/CMakeLists.txt ; then 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 MISSING_FILES=y
fi fi
done < <( done < <(