Fix illegal-strings test.

This commit is contained in:
project-repo 2023-12-27 21:35:58 +01:00
commit a535e2c9d0
2 changed files with 2 additions and 11 deletions

View file

@ -8,7 +8,7 @@ RESULT=0
cd "${MESONCURRENTCONFIGDIR}"
# Check that no TODO statements remain in the release directory
if ! grep -Rq "TODO" .
if grep --exclude='test/illegal-strings' --exclude-dir='build' -Rn "TODO" ./**
then
echo "[x] TODO"
else
@ -16,14 +16,4 @@ else
echo "[ ] TODO"
fi
# Check that Cagebreak does not falsely claim to be POSIX compliant
if ! grep -Rq "_POSIX_C_SOURCE" .
then
echo "[x] _POSIX_C_SOURCE"
else
RESULT=1
echo "[ ] _POSIX_C_SOURCE"
fi
exit "${RESULT}"