mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-21 13:04:18 +02:00
Fix illegal-strings test.
This commit is contained in:
parent
15f9eaa6f7
commit
a535e2c9d0
2 changed files with 2 additions and 11 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue