mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-18 03:29:12 +02:00
Fix illegal-strings test.
This commit is contained in:
parent
15f9eaa6f7
commit
a535e2c9d0
2 changed files with 2 additions and 11 deletions
|
|
@ -376,6 +376,7 @@ test('Copyright and LICENSE', find_program('test/copyright-license'), args : [ c
|
|||
test('Clang-format (formatting check)', find_program('test/clang-format'), args : [ cagebreak_main_file + cagebreak_source_strings + cagebreak_header_strings + fuzz_sources + fuzz_headers + fuzz_override_lib ], env : [ ''.join('MESONCURRENTCONFIGDIR=', meson.current_source_dir()) ], suite: 'devel')
|
||||
test('Shellcheck (script linting)', find_program('test/shellcheck'), env : [ ''.join('MESONCURRENTCONFIGDIR=', meson.current_source_dir()) ], suite: 'devel')
|
||||
test('GPG key validity', find_program('test/gpg-validity'), args : [ meson.project_version() ], env : [ ''.join('MESONCURRENTCONFIGDIR=', meson.current_source_dir()) ], suite: 'devel')
|
||||
test('Illegal Strings', find_program('test/illegal-strings'), env : [ ''.join('MESONCURRENTCONFIGDIR=', meson.current_source_dir()) ], suite: 'devel')
|
||||
test('Scan-build (static analysis)', find_program('test/scan-build'), env : [ ''.join('MESONCURRENTCONFIGDIR=', meson.current_source_dir()) ], suite: 'devel-long')
|
||||
test('Arguments', find_program('test/arguments'), args : [ meson.project_version() ], env : [ ''.join('MESONCURRENTCONFIGDIR=', meson.current_source_dir()) ], suite: 'basic')
|
||||
test('Environment Variables', find_program('test/environment-variables'), env : [ ''.join('MESONCURRENTCONFIGDIR=', meson.current_source_dir()) ], suite: 'basic')
|
||||
|
|
|
|||
|
|
@ -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