akkana%netscape.com 1d30268f47 Make table tests run on linux; add comments explaining how to run them.
Needed for testing 41916.  r=karnaze


git-svn-id: svn://10.0.0.236/trunk@72414 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:23:16 +00:00

26 lines
663 B
Bash
Executable File

#!/bin/sh
# create test file to use first; since we don't know where the tree
# is, and we need full pathnames in the file, we create it on the fly.
viewer=$MOZILLA_FIVE_HOME/viewer
echo viewer: $viewer
testsfile=/tmp/$$-tests.txt
sed -e "s@file:///s|@file:$MOZ_SRC@" < file_list.txt > $testsfile
if test "$1"x = "baselinex"; then
rm -r -f baseline
mkdir baseline
$viewer -d 1 -o baseline/ -f $testsfile
elif test "$1"x = "verifyx"; then
rm -r -f verify
mkdir verify
$viewer -d 1 -o verify/ -rd baseline/ -f $testsfile
elif test "$1"x = "cleanx"; then
rm -r -f verify baseline
else
echo "Usage: $0 baseline|verify|clean"
fi
rm -f $testsfile