Browse Source

tests/fate/source-check: Use git grep in place of grep

grep -L is not posix, solaris default grep does not support it

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Michael Niedermayer 8 years ago
parent
commit
ad7aff0355
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/fate/source-check.sh

+ 1
- 1
tests/fate/source-check.sh View File

@@ -27,7 +27,7 @@ for f in `git ls-files | grep '\.h$'` ; do
-e 's/_vaf_/_/' \ -e 's/_vaf_/_/' \
| tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"


grep -L "^#define $macro$" $f
git grep -L "^#define $macro$" $f
done done


echo "Use of av_clip() where av_clip_uintp2() could be used:" echo "Use of av_clip() where av_clip_uintp2() could be used:"


Loading…
Cancel
Save