зеркало из https://github.com/mozilla/pjs.git
Fix regression tests bitrot on Linux. r=karnaze
This commit is contained in:
Родитель
c67a0430b1
Коммит
336cced891
|
@ -14,7 +14,9 @@ nodots() {
|
|||
echo $NODOTS_OUT
|
||||
}
|
||||
|
||||
dirs="base bugs dom images net/HTML_Chars net/W3C net/baron net/boxAcidTest net/glazman net/mozilla ../table/core ../table/viewer_tests ../table/bugs ../table/marvin ../table/other ../table/dom"
|
||||
dirs="base bugs ../table/core ../table/viewer_tests ../table/bugs ../table/marvin ../table/other ../table/dom"
|
||||
|
||||
#extra_dirs="net/HTML_Chars net/W3C net/baron net/boxAcidTest net/glazman net/mozilla"
|
||||
|
||||
DEPTH="../../../../.."
|
||||
TEST_BASE=`dirname $0`
|
||||
|
|
|
@ -5,7 +5,19 @@
|
|||
|
||||
testsfile=/tmp/$$-tests.txt
|
||||
|
||||
sed -e "s@file:///s\(:\||\)@file://$MOZ_TEST_BASE@" < file_list.txt > $testsfile
|
||||
cp /dev/null $testsfile
|
||||
|
||||
for FILE in `ls file_list.txt file_list[0-9].txt 2> /dev/null`; do
|
||||
egrep -v "^#" < $FILE \
|
||||
| sed -e "s@file:///s\(:\||\)@file://$MOZ_TEST_BASE@" \
|
||||
>> $testsfile
|
||||
done
|
||||
|
||||
if [ \! -s $testfile ]; then
|
||||
echo "WARNING: No file lists found in `pwd`"
|
||||
rm -f $testsfile
|
||||
return 0
|
||||
fi
|
||||
|
||||
if test "$1"x = "baselinex"; then
|
||||
rm -r -f baseline
|
||||
|
|
Загрузка…
Ссылка в новой задаче