mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 1331846 - Exclude the lines which have "include" appeared in the middle. r=dbaron
Change "include" match rule from "^include" to "include " since there might be "skip-if" or other <failure-type> conditions before the "include". The single space after is added so that tests like "include.html" won't be excluded. DONTBUILD because this patch modifies a script checking for the validity of reftests, which is NPOTB. MozReview-Commit-ID: 3tFFIo8RKFp --HG-- extra : rebase_source : 970de4530aa2cb2aa65a0e017b6cd09de8aa2fdf
This commit is contained in:
parent
25bf73baef
commit
0bfbd8a186
@ -3,7 +3,7 @@
|
||||
cd "$(dirname "$0")"
|
||||
find . -name reftest.list | sed 's,/reftest.list$,,' | while read DIRNAME
|
||||
do
|
||||
cat "$DIRNAME/reftest.list" | grep -v "^\(include\|default-preferences\)" | sed 's/ #.*//;s/^#.*//;s/.* == /== /;s/.* != /!= /' | grep -v "^ *$" | while read TYPE TEST REF
|
||||
cat "$DIRNAME/reftest.list" | grep -v -e "^default-preferences" -e "include " | sed 's/ #.*//;s/^#.*//;s/.* == /== /;s/.* != /!= /' | grep -v "^ *$" | while read TYPE TEST REF
|
||||
do
|
||||
REFTYPE=""
|
||||
if [ "$TYPE" == "==" ]
|
||||
|
Loading…
Reference in New Issue
Block a user