Fix regression tests bitrot on Linux. r=karnaze

This commit is contained in:
waterson%netscape.com 2001-03-27 06:09:16 +00:00
Родитель c67a0430b1
Коммит 336cced891
2 изменённых файлов: 16 добавлений и 2 удалений

Просмотреть файл

@ -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