Sisyphus - support buildbot, js test automation, work in progress. Bug 386992, not part of the build

This commit is contained in:
bclary@bclary.com 2007-07-05 09:36:55 -07:00
Родитель 25671496a4
Коммит 42ca1d03de
75 изменённых файлов: 396 добавлений и 388 удалений

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

@ -52,7 +52,7 @@ case $product in
fi fi
case "$OSID" in case "$OSID" in
"mac") mac*)
if [[ "$buildtype" == "debug" ]]; then if [[ "$buildtype" == "debug" ]]; then
if [[ "$product" == "firefox" ]]; then if [[ "$product" == "firefox" ]]; then
executablepath=$product-$buildtype/dist/FirefoxDebug.app/Contents/MacOS executablepath=$product-$buildtype/dist/FirefoxDebug.app/Contents/MacOS

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

@ -106,9 +106,9 @@ if echo "$buildcommands" | grep -iq clean; then
for buildtype in $buildtypes; do for buildtype in $buildtypes; do
TEST_DATE=`date -u +%Y-%m-%d-%H-%M-%S``date +%z` TEST_DATE=`date -u +%Y-%m-%d-%H-%M-%S``date +%z`
TEST_LOG="${TEST_DIR}/results/${TEST_DATE},$product,$branch$extra,$buildtype,$OSID,${MACHINE},clean.log" TEST_LOG="${TEST_DIR}/results/${TEST_DATE},$product,$branch$extra,$buildtype,$OSID,${TEST_MACHINE},clean.log"
echo "writing results to $TEST_LOG" echo "$TEST_LOG"
clean.sh -p $product -b $branch -T $buildtype $extraflag > $TEST_LOG 2>&1 clean.sh -p $product -b $branch -T $buildtype $extraflag > $TEST_LOG 2>&1
@ -123,9 +123,9 @@ if echo "$buildcommands" | grep -iq checkout; then
for branch in $branches; do for branch in $branches; do
TEST_DATE=`date -u +%Y-%m-%d-%H-%M-%S``date +%z` TEST_DATE=`date -u +%Y-%m-%d-%H-%M-%S``date +%z`
TEST_LOG="${TEST_DIR}/results/${TEST_DATE},$product,$branch$extra,$buildtype,$OSID,${MACHINE},checkout.log" TEST_LOG="${TEST_DIR}/results/${TEST_DATE},$product,$branch$extra,$buildtype,$OSID,${TEST_MACHINE},checkout.log"
echo "writing results to $TEST_LOG" echo "$TEST_LOG"
checkout.sh -p $product -b $branch -T opt $extraflag > $TEST_LOG 2>&1 checkout.sh -p $product -b $branch -T opt $extraflag > $TEST_LOG 2>&1
@ -140,9 +140,9 @@ if echo "$buildcommands" | grep -iq build; then
for buildtype in $buildtypes; do for buildtype in $buildtypes; do
TEST_DATE=`date -u +%Y-%m-%d-%H-%M-%S``date +%z` TEST_DATE=`date -u +%Y-%m-%d-%H-%M-%S``date +%z`
TEST_LOG="${TEST_DIR}/results/${TEST_DATE},$product,$branch$extra,$buildtype,$OSID,${MACHINE}-build.log" TEST_LOG="${TEST_DIR}/results/${TEST_DATE},$product,$branch$extra,$buildtype,$OSID,${TEST_MACHINE},build.log"
echo "writing results to $TEST_LOG" echo "$TEST_LOG"
build.sh -p $product -b $branch -T $buildtype $extraflag > $TEST_LOG 2>&1 build.sh -p $product -b $branch -T $buildtype $extraflag > $TEST_LOG 2>&1
done done

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

@ -129,31 +129,31 @@ if [[ $talkback -eq 1 ]]; then
if [[ ! -e master.sed ]]; then if [[ ! -e master.sed ]]; then
#echo "$0: editing talkback master.ini in `pwd`" #echo "$0: editing talkback master.ini in `pwd`"
cp $TEST_BIN/master.sed . cp $TEST_BIN/master.sed .
sed -f master.sed -ibak master.ini sed -f master.sed -i.bak master.ini
fi
if [[ "$OSID" == "mac" ]]; then
vendorid=`grep '^VendorID = "' master.ini | sed 's@VendorID = "\([^"]*\)"@\1@'`
productid=`grep '^ProductID = "' master.ini | sed 's@ProductID = "\([^"]*\)"@\1@'`
platformid=`grep '^PlatformID = "' master.ini | sed 's@PlatformID = "\([^"]*\)"@\1@'`
buildid=`grep '^BuildID = "' master.ini | sed 's@BuildID = "\([^"]*\)"@\1@'`
else
vendorid=`dos2unix < master.ini | grep '^VendorID = "' | sed 's@VendorID = "\([^"]*\)"@\1@'`
productid=`dos2unix < master.ini | grep '^ProductID = "' | sed 's@ProductID = "\([^"]*\)"@\1@'`
platformid=`dos2unix < master.ini | grep '^PlatformID = "' | sed 's@PlatformID = "\([^"]*\)"@\1@'`
buildid=`dos2unix < master.ini | grep '^BuildID = "' | sed 's@BuildID = "\([^"]*\)"@\1@'`
fi fi
case $OSID in case $OSID in
"win32") win32)
vendorid=`dos2unix < master.ini | grep '^VendorID = "' | sed 's@VendorID = "\([^"]*\)"@\1@'`
productid=`dos2unix < master.ini | grep '^ProductID = "' | sed 's@ProductID = "\([^"]*\)"@\1@'`
platformid=`dos2unix < master.ini | grep '^PlatformID = "' | sed 's@PlatformID = "\([^"]*\)"@\1@'`
buildid=`dos2unix < master.ini | grep '^BuildID = "' | sed 's@BuildID = "\([^"]*\)"@\1@'`
appdata=`cygpath -a -d "$APPDATA"` appdata=`cygpath -a -d "$APPDATA"`
talkbackdir="`cygpath -a -u $appdata`/Talkback" talkbackdir="`cygpath -a -u $appdata`/Talkback"
;; ;;
"linux") linux)
vendorid=`dos2unix < master.ini | grep '^VendorID = "' | sed 's@VendorID = "\([^"]*\)"@\1@'`
productid=`dos2unix < master.ini | grep '^ProductID = "' | sed 's@ProductID = "\([^"]*\)"@\1@'`
platformid=`dos2unix < master.ini | grep '^PlatformID = "' | sed 's@PlatformID = "\([^"]*\)"@\1@'`
buildid=`dos2unix < master.ini | grep '^BuildID = "' | sed 's@BuildID = "\([^"]*\)"@\1@'`
talkbackdir="$HOME/.fullcircle" talkbackdir="$HOME/.fullcircle"
;; ;;
"mac" ) mac* )
# hack around Mac's use of spaces in directory names # hack around Mac's use of spaces in directory names
vendorid=`grep '^VendorID = "' master.ini | sed 's@VendorID = "\([^"]*\)"@\1@'`
productid=`grep '^ProductID = "' master.ini | sed 's@ProductID = "\([^"]*\)"@\1@'`
platformid=`grep '^PlatformID = "' master.ini | sed 's@PlatformID = "\([^"]*\)"@\1@'`
buildid=`grep '^BuildID = "' master.ini | sed 's@BuildID = "\([^"]*\)"@\1@'`
talkbackdir="$HOME/Library/Application Support/FullCircle" talkbackdir="$HOME/Library/Application Support/FullCircle"
IFS=: IFS=:
;; ;;
@ -172,7 +172,7 @@ if [[ $talkback -eq 1 ]]; then
win32) win32)
talkbackinidir="$talkbackdir/$vendorid/$productid/$platformid/$buildid" talkbackinidir="$talkbackdir/$vendorid/$productid/$platformid/$buildid"
;; ;;
"linux" | "mac" ) linux | mac* )
talkbackinidir="$talkbackdir/$vendorid$productid$platformid$buildid" talkbackinidir="$talkbackdir/$vendorid$productid$platformid$buildid"
;; ;;
esac esac
@ -186,14 +186,14 @@ if [[ $talkback -eq 1 ]]; then
cp /work/mozilla/mozilla.com/test.mozilla.com/www/talkback/$OSID/Talkback.ini . cp /work/mozilla/mozilla.com/test.mozilla.com/www/talkback/$OSID/Talkback.ini .
case "$OSID" in case "$OSID" in
"win32") win32)
sed -ibak "s@URLEdit .*@URLEdit = \"mozqa:$talkbackid\"@" Talkback.ini sed -i.bak "s@URLEdit .*@URLEdit = \"mozqa:$talkbackid\"@" Talkback.ini
;; ;;
"linux" ) linux )
sed -ibak "s@URLEditControl .*@URLEditControl = \"mozqa:$talkbackid\"@" Talkback.ini sed -i.bak "s@URLEditControl .*@URLEditControl = \"mozqa:$talkbackid\"@" Talkback.ini
;; ;;
"mac" ) mac* )
sed -ibak "s@URLEditControl .*@URLEditControl = \"mozqa:$talkbackid\"@" Talkback.ini sed -i.bak "s@URLEditControl .*@URLEditControl = \"mozqa:$talkbackid\"@" Talkback.ini
;; ;;
*) *)
error "unknown os=$OSID" error "unknown os=$OSID"

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

@ -116,37 +116,38 @@ if [[ $OSID == "win32" ]]; then
else else
if [[ $OSID == "linux" ]]; then case "$OSID" in
linux)
if echo $filetype | grep -iq 'bzip2'; then
tar -jxvf $filename -C "$executablepath"
elif echo $filetype | grep -iq 'gzip'; then
tar -zxvf $filename -C "$executablepath"
else
error "unknown file type $filetype"
fi
;;
if echo $filetype | grep -iq 'bzip2'; then mac*)
tar -jxvf $filename -C "$executablepath"
elif echo $filetype | grep -iq 'gzip'; then
tar -zxvf $filename -C "$executablepath"
else
error "unknown file type $filetype"
fi
elif [[ $OSID == "mac" ]]; then
# answer license prompt # answer license prompt
result=`${TEST_BIN}/hdiutil-expect.ex $filename` result=`${TEST_BIN}/hdiutil-expect.ex $filename`
# now get the volume data # now get the volume data
#result=`hdiutil attach $filename` #result=`hdiutil attach $filename`
disk=`echo $result | sed 's@.*\(/dev/[^ ]*\).*/dev.*/dev.*@\1@'` disk=`echo $result | sed 's@.*\(/dev/[^ ]*\).*/dev.*/dev.*@\1@'`
# remove the carriage return inserted by expect # remove the carriage return inserted by expect
volume=`echo $result | sed "s|[^a-zA-Z0-9/]||g" | sed 's@.*\(/Volumes/.*\)@\1@'` volume=`echo $result | sed "s|[^a-zA-Z0-9/]||g" | sed 's@.*\(/Volumes/.*\)@\1@'`
echo "disk=$disk" echo "disk=$disk"
echo "volume=$volume" echo "volume=$volume"
if [[ -z "$disk" || -z "$volume" ]]; then if [[ -z "$disk" || -z "$volume" ]]; then
error "mounting disk image: $result" error "mounting disk image: $result"
fi fi
for app in $volume/*.app; do for app in $volume/*.app; do
cp -R $app $executablepath cp -R $app $executablepath
done done
hdiutil detach $disk hdiutil detach $disk
;;
fi esac
# #
# patch unix-like startup scripts to exec instead of # patch unix-like startup scripts to exec instead of

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

@ -1,4 +1,4 @@
# -*- Mode: Shell-script; tab-width: 4; indent-tabs-mode: nil; -*- # -*- Mode: Shell-script; tab-width: 2; indent-tabs-mode: nil; -*-
# ***** BEGIN LICENSE BLOCK ***** # ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
# #
@ -44,124 +44,193 @@
# TEST_BIN=${TEST_BIN:-$TEST_DIR/bin} # TEST_BIN=${TEST_BIN:-$TEST_DIR/bin}
# source ${TEST_BIN}/library.sh # source ${TEST_BIN}/library.sh
# #
#trap "echo error $0 `caller 1`; exit" ERR
echo "calling $0 $@" # skip remainder of script if it has already
# included
if [[ -n "$DEBUG" ]]; then
echo "calling $0 $@" 1>&2
fi
if [[ -z "$LIBRARYSH" ]]; then
LIBRARYSH=1
# export variables # export variables
set -a set -a
# make pipelines return exit code of intermediate steps
# requires bash 3.x
set -o pipefail
# set time format for pipeline timing reports
TIMEFORMAT="Elapsed time %0R seconds, User %0U seconds, System %0S seconds, CPU %P%%"
MALLOC_CHECK_=2
ulimit -c 0
# debug msg
#
# output debugging message to stdout if $DEBUG is set
DEBUG=${DEBUG:-""}
debug()
{
if [[ -n "$DEBUG" ]]; then
echo "DEBUG: $@"
fi
}
# console msg
#
# output message to console, ie. stderr
console()
{
echo "$@" 1>&2
}
# error message # error message
# output error message end exit 2 # output error message end exit 2
error() error()
{ {
echo "error in script $SCRIPT: $1" echo "error in script $SCRIPT: $1"
if [[ "$0" == "-bash" || "$0" == "bash" ]]; then if [[ "$0" == "-bash" || "$0" == "bash" ]]; then
return 0 return 0
fi fi
exit 2 exit 2
} }
# dumpenvironment
#
# output environment to stdout
dumpenvironment()
{
set | grep '^[A-Z]' | sed 's|^|environment: |'
}
# dumpvars varname1, ...
#
# dumps name=value pairs to stdout for each variable named
# in argument list
dumpvars()
{
local argc=$#
local argn=1
while [ $argn -le $argc ]; do
local var=${!argn}
echo ${var}=${!var}
let argn=argn+1
done
}
# get_executable product branch directory # get_executable product branch directory
#
# writes path to product executable to stdout # writes path to product executable to stdout
get_executable() get_executable()
{ {
get_executable_product="$1" get_executable_product="$1"
get_executable_branch="$2" get_executable_branch="$2"
get_executable_directory="$3" get_executable_directory="$3"
if [[ -z "$get_executable_product" || \ if [[ -z "$get_executable_product" || \
-z "$get_executable_branch" || \ -z "$get_executable_branch" || \
-z "$get_executable_directory" ]]; then -z "$get_executable_directory" ]]; then
error "usage: get_executable product branch directory" error "usage: get_executable product branch directory"
elif [[ ! -d "$get_executable_directory" ]]; then elif [[ ! -d "$get_executable_directory" ]]; then
error "get_executable: executable directory \"$get_executable_directory\" does not exist" error "get_executable: executable directory \"$get_executable_directory\" does not exist"
else else
# should use /u+x,g+x,a+x but mac os x uses an obsolete find # should use /u+x,g+x,a+x but mac os x uses an obsolete find
# filter the output to remove extraneous file in dist/bin for # filter the output to remove extraneous file in dist/bin for
# cvs builds on mac os x. # cvs builds on mac os x.
get_executable_name="$get_executable_product${EXE_EXT}" get_executable_name="$get_executable_product${EXE_EXT}"
if [[ "$OSID" == "mac" ]]; then case "$OSID" in
get_executable_filter="Contents/MacOS/$get_executable_product" mac*)
if [[ "$get_executable_product" == "thunderbird" ]]; then get_executable_filter="Contents/MacOS/$get_executable_product"
get_executable_name="$get_executable_product-bin" if [[ "$get_executable_product" == "thunderbird" ]]; then
get_executable_name="$get_executable_product-bin"
fi
;;
*)
get_executable_filter="$get_executable_product"
esac
if find "$get_executable_directory" -perm +111 -type f \
-name "$get_executable_name" | \
grep "$get_executable_filter"; then
true
fi fi
else
get_executable_filter="$get_executable_product"
fi
if find "$get_executable_directory" -perm +111 -type f \
-name "$get_executable_name" | \
grep "$get_executable_filter"; then
true
fi fi
}
if [[ "$0" == "-bash" || "$0" == "bash" ]]; then
SCRIPT="library.sh"
else
SCRIPT=`basename $0`
fi fi
}
TEST_DIR=${TEST_DIR:-/work/mozilla/mozilla.com/test.mozilla.com/www}
TEST_BIN=${TEST_BIN:-$TEST_DIR/bin}
TEST_HTTP=${TEST_HTTP:-test.mozilla.com}
TEST_STARTUP_TIMEOUT=${TEST_STARTUP_TIMEOUT:-30}
TEST_DIR=${TEST_DIR:-/work/mozilla/mozilla.com/test.mozilla.com/www} TEST_TIMEZONE=`date +%z`
TEST_BIN=${TEST_BIN:-$TEST_DIR/bin}
TEST_HTTP=${TEST_HTTP:-test.mozilla.com} TEST_MACHINE=`uname -n`
TEST_STARTUP_TIMEOUT=${TEST_STARTUP_TIMEOUT:-30} TEST_KERNEL=`uname -r`
TEST_PROCESSORTYPE=`uname -p`
# set path to make life easier # set path to make life easier
PATH=${TEST_DIR}/bin:$PATH if ! echo ${PATH} | grep -q $TEST_BIN; then
PATH=${TEST_BIN}:$PATH
fi
# make pipelines return exit code of intermediate steps if echo $OSTYPE | grep -iq cygwin; then
# requires bash 3.x OSID=win32
set -o pipefail EXE_EXT=".exe"
elif echo $OSTYPE | grep -iq Linux; then
if [[ "$0" == "-bash" || "$0" == "bash" ]]; then OSID=linux
SCRIPT="library.sh" EXE_EXT=
else elif echo $OSTYPE | grep -iq darwin; then
SCRIPT=`basename $0` OSID=mac`uname -p`
fi EXE_EXT=
else
error "Unknown OS $OSTYPE"
fi
# save starting directory # save starting directory
STARTDIR=`pwd` STARTDIR=`pwd`
# change working directory to the location of the script. # location of the script.
SCRIPTDIR=`dirname $0` SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR
# set time format for pipeline timing reports
TIMEFORMAT="Elapsed time %0R seconds, User %0U seconds, System %0S seconds, CPU %P%%"
# don't attach to running instance # don't attach to running instance
MOZ_NO_REMOTE=1 MOZ_NO_REMOTE=1
# don't restart # don't restart
NO_EM_RESTART=1 NO_EM_RESTART=1
# bypass profile manager # bypass profile manager
MOZ_BYPASS_PROFILE_AT_STARTUP=1 MOZ_BYPASS_PROFILE_AT_STARTUP=1
# ah crap handler timeout # ah crap handler timeout
MOZ_GDB_SLEEP=10 MOZ_GDB_SLEEP=10
# no dialogs on asserts # no dialogs on asserts
XPCOM_DEBUG_BREAK=warn XPCOM_DEBUG_BREAK=warn
# no airbag
unset MOZ_AIRBAG
MOZ_CRASHREPORTER_DISABLE=1
#leak gauge #leak gauge
#NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5 #NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5
MALLOC_CHECK_=2
MACHINE=`uname -n`
ulimit -c 0
if echo $OSTYPE | grep -iq cygwin; then
OSID=win32
EXE_EXT=".exe"
elif echo $OSTYPE | grep -iq Linux; then
OSID=linux
EXE_EXT=
elif echo $OSTYPE | grep -iq darwin; then
OSID=mac
EXE_EXT=
else
error "Unknown OS $OSTYPE"
fi fi

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

@ -69,12 +69,12 @@ myexit()
myexit_status=$1 myexit_status=$1
case $0 in case $0 in
*bash*) *bash*)
# prevent "sourced" script calls from # prevent "sourced" script calls from
# exiting the current shell. # exiting the current shell.
break 99;; break 99;;
*) *)
exit $myexit_status;; exit $myexit_status;;
esac esac
} }
@ -85,82 +85,68 @@ for step in step1; do # dummy loop for handling exits
while getopts $options optname ; while getopts $options optname ;
do do
case $optname in case $optname in
p) product=$OPTARG;; p) product=$OPTARG;;
b) branch=$OPTARG;; b) branch=$OPTARG;;
T) buildtype=$OPTARG;; T) buildtype=$OPTARG;;
e) extra=$OPTARG;; e) extra=$OPTARG;;
esac esac
done done
# echo product=$product, branch=$branch, buildtype=$buildtype, extra=$extra # echo product=$product, branch=$branch, buildtype=$buildtype, extra=$extra
if [[ -z "$product" || -z "$branch" || -z "$buildtype" ]]; then if [[ -z "$product" || -z "$branch" || -z "$buildtype" ]]; then
echo -n "missing" echo -n "missing"
if [[ -z "$product" ]]; then if [[ -z "$product" ]]; then
echo -n " -p product" echo -n " -p product"
fi fi
if [[ -z "$branch" ]]; then if [[ -z "$branch" ]]; then
echo -n " -b branch" echo -n " -b branch"
fi fi
if [[ -z "$buildtype" ]]; then if [[ -z "$buildtype" ]]; then
echo -n " -T buildtype" echo -n " -T buildtype"
fi fi
usage usage
myexit 2 myexit 2
fi fi
if [[ $branch == "1.8.0" ]]; then if [[ $branch == "1.8.0" ]]; then
export BRANCH_CO_FLAGS="-r MOZILLA_1_8_0_BRANCH" export BRANCH_CO_FLAGS="-r MOZILLA_1_8_0_BRANCH"
elif [[ $branch == "1.8.1" ]]; then elif [[ $branch == "1.8.1" ]]; then
export BRANCH_CO_FLAGS="-r MOZILLA_1_8_BRANCH" export BRANCH_CO_FLAGS="-r MOZILLA_1_8_BRANCH"
elif [[ $branch == "1.9.0" ]]; then elif [[ $branch == "1.9.0" ]]; then
export BRANCH_CO_FLAGS=""; export BRANCH_CO_FLAGS="";
else else
echo "Unknown branch: $branch" echo "Unknown branch: $branch"
myexit 2 myexit 2
fi fi
if [[ -n "$WINDIR" ]] ; then if [[ -n "$WINDIR" ]] ; then
OSID=win32 OSID=win32
# app=bin # app=bin
export platform=i686 export platform=i686
if echo $branch | egrep -q '^1\.8'; then if echo $branch | egrep -q '^1\.8'; then
export MOZ_TOOLS="/work/mozilla/moztools" export MOZ_TOOLS="/work/mozilla/moztools"
source /work/mozilla/mozilla.com/test.mozilla.com/www/bin/set-msvc6-env.sh source /work/mozilla/mozilla.com/test.mozilla.com/www/bin/set-msvc6-env.sh
else else
export MOZ_TOOLS="/work/mozilla/moztools-static" export MOZ_TOOLS="/work/mozilla/moztools-static"
source /work/mozilla/mozilla.com/test.mozilla.com/www/bin/set-msvc8-env.sh source /work/mozilla/mozilla.com/test.mozilla.com/www/bin/set-msvc8-env.sh
fi fi
echo moztools Location: $MOZ_TOOLS echo moztools Location: $MOZ_TOOLS
elif uname | grep -iq darwin ; then elif uname | grep -iq darwin ; then
OSID=mac OSID=mac
export platform=`uname -p` export platform=`uname -p`
# if [[ "$product" == "firefox" ]]; then
# app=Firefox
# elif [[ "$product" == "thunderbird" ]]; then
# app=Thunderbird
# else
# echo "Unsupported product: $product"
# myexit 2
# fi
# if [[ "$buildtype" == "debug" ]]; then
# app="${app}Debug"
# fi
# app="${app}.app"
# export APPBIN="$app/Content/MacOS"
else else
OSID=linux OSID=linux
# export APPBIN=bin export platform=i686
export platform=i686
fi fi
if [[ -z $extra ]]; then if [[ -z $extra ]]; then
export TREE="$BUILDDIR/$branch" export TREE="$BUILDDIR/$branch"
else else
export TREE="$BUILDDIR/$branch-$extra" export TREE="$BUILDDIR/$branch-$extra"
# #
# extras can't be placed in mozconfigs since not all parts # extras can't be placed in mozconfigs since not all parts
@ -169,54 +155,56 @@ for step in step1; do # dummy loop for handling exits
# requiring separate source trees # requiring separate source trees
# #
if [[ "$extra" == "too-much-gc" ]]; then if [[ "$extra" == "too-much-gc" ]]; then
export XCFLAGS="-DWAY_TOO_MUCH_GC=1" export XCFLAGS="-DWAY_TOO_MUCH_GC=1"
export CFLAGS="-DWAY_TOO_MUCH_GC=1" export CFLAGS="-DWAY_TOO_MUCH_GC=1"
export CXXFLAGS="-DWAY_TOO_MUCH_GC=1" export CXXFLAGS="-DWAY_TOO_MUCH_GC=1"
elif [[ "$extra" == "gcov" ]]; then elif [[ "$extra" == "gcov" ]]; then
if [[ "$OSID" == "win32" ]]; then if [[ "$OSID" == "win32" ]]; then
echo "win32 does not support gcov" echo "win32 does not support gcov"
myexit 2 myexit 2
fi fi
export CFLAGS="--coverage" export CFLAGS="--coverage"
export CXXFLAGS="--coverage" export CXXFLAGS="--coverage"
export XCFLAGS="--coverage" export XCFLAGS="--coverage"
export OS_CFLAGS="--coverage" export OS_CFLAGS="--coverage"
export LDFLAGS="--coverage" export LDFLAGS="--coverage"
export XLDOPTS="--coverage" export XLDOPTS="--coverage"
fi fi
fi fi
if [[ ! -d $TREE ]]; then if [[ ! -d $TREE ]]; then
echo "Build directory $TREE does not exist" echo "Build directory $TREE does not exist"
myexit 2 myexit 2
fi fi
# here project refers to either browser or mail # here project refers to either browser or mail
# and is used to find mozilla/(browser|mail)/config/mozconfig # and is used to find mozilla/(browser|mail)/config/mozconfig
if [[ $product == "firefox" ]]; then if [[ $product == "firefox" ]]; then
project=browser project=browser
export MOZCONFIG="$TREE/mozconfig-firefox-$OSID-$platform-$buildtype" export MOZCONFIG="$TREE/mozconfig-firefox-$OSID-$platform-$buildtype"
elif [[ $product == "thunderbird" ]]; then elif [[ $product == "thunderbird" ]]; then
project=mail project=mail
export MOZCONFIG="$TREE/mozconfig-thunderbird-$OSID-$platform-$buildtype" export MOZCONFIG="$TREE/mozconfig-thunderbird-$OSID-$platform-$buildtype"
else else
echo "Assuming project=browser for product: $product" echo "Assuming project=browser for product: $product"
project=browser project=browser
export MOZCONFIG="$TREE/mozconfig-firefox-$OSID-$platform-$buildtype" export MOZCONFIG="$TREE/mozconfig-firefox-$OSID-$platform-$buildtype"
fi fi
# js shell builds # js shell builds
if [[ $buildtype == "debug" ]]; then if [[ $buildtype == "debug" ]]; then
unset BUILD_OPT unset BUILD_OPT
else else
export BUILD_OPT=1 export BUILD_OPT=1
fi fi
if [[ $OSID == "mac" ]]; then case "$OSID" in
export JS_EDITLINE=1 # required for mac mac)
fi export JS_EDITLINE=1 # required for mac
;;
esac
# end js shell builds # end js shell builds
set | sed 's/^/environment: /' set | sed 's/^/environment: /'

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

@ -137,6 +137,19 @@ if [[ -n "$datafiles" ]]; then
done done
fi fi
TEST_PRODUCT=$product
TEST_BRANCH=$branch
TEST_BUILDCOMMANDS=$buildcommands
TEST_BUILDTYPE=$buildtype
TEST_EXECUTABLEPATH=$executablepath
TEST_PROFILENAME=$profilename
TEST_PROFILETEMPLATE=$profiletemplate
TEST_USERPREFERENCES=$userpreferences
TEST_EXTENSIONDIR=$extensiondir
TEST_DATAFILES=$datafiles
dumpenvironment
if [[ -z "$product" || -z "$branch" ]]; then if [[ -z "$product" || -z "$branch" ]]; then
echo "product and branch are required" echo "product and branch are required"
usage usage
@ -190,19 +203,21 @@ if [[ -n "$buildcommands" ]]; then
usage usage
fi fi
if [[ "$OSID" == "mac" ]]; then case "$OSID" in
if [[ "$product" == "firefox" ]]; then mac*)
App=Firefox if [[ "$product" == "firefox" ]]; then
elif [[ "$product" == "thunderbird" ]]; then App=Firefox
App=Thunderbird elif [[ "$product" == "thunderbird" ]]; then
fi App=Thunderbird
if [[ "$buildtype" == "debug" ]]; then fi
AppType=Debug if [[ "$buildtype" == "debug" ]]; then
fi AppType=Debug
executablepath="/work/mozilla/builds/$branch/mozilla/$product-$buildtype/dist/$App$AppType.app/Contents/MacOS" fi
else executablepath="/work/mozilla/builds/$branch/mozilla/$product-$buildtype/dist/$App$AppType.app/Contents/MacOS"
executablepath="/work/mozilla/builds/$branch/mozilla/$product/$buildtype/dist/bin" ;;
fi *)
executablepath="/work/mozilla/builds/$branch/mozilla/$product/$buildtype/dist/bin"
esac
if echo "$buildcommands" | grep -iq clean; then if echo "$buildcommands" | grep -iq clean; then
clean.sh -p $product -b $branch -t $buildtype clean.sh -p $product -b $branch -t $buildtype

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

@ -93,13 +93,14 @@ shift 2
datalist=`combo.sh "$@"` datalist=`combo.sh "$@"`
TEST_ID=`dirname $testscript | sed "s|$TEST_DIR/||" | sed "s|/|_|g"` TEST_SUITE=`dirname $testscript | sed "s|$TEST_DIR/||" | sed "s|/|_|g"`
for data in $datalist; do for data in $datalist; do
TEST_DATE=`date -u +%Y-%m-%d-%H-%M-%S``date +%z` TEST_DATE=`date -u +%Y-%m-%d-%H-%M-%S``date +%z`
TEST_LOG="${TEST_DIR}/results/${TEST_DATE},$data,$OSID,${MACHINE},$TEST_ID.log" TEST_LOG="${TEST_DIR}/results/${TEST_DATE},$data,$OSID,${TEST_MACHINE},$TEST_SUITE.log"
echo "writing results to $TEST_LOG" # tell caller what the log files are
echo "$TEST_LOG "
test-setup.sh -d $TEST_DIR/data/$data.data >> $TEST_LOG 2>&1 test-setup.sh -d $TEST_DIR/data/$data.data >> $TEST_LOG 2>&1

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -1,12 +1,11 @@
allurl=http://stage.mozilla.org/pub/mozilla.org/thunderbird/nightly/2.0.0.4-candidates/rc2/ allurl=http://stage.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.4/
product=firefox product=firefox
branch=1.8.1 branch=1.8.1
url=http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.3/linux-i686/en-US/firefox-2.0.0.3.tar.gz url=http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.4/linux-i686/en-US/firefox-2.0.0.4.tar.gz
profilename=firefox-1.8.1-profile profilename=firefox-1.8.1-profile
profiledirectory=/tmp/firefox-1.8.1-profile profiledirectory=/tmp/firefox-1.8.1-profile
executablepath=/tmp/firefox-1.8.1 executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -1,12 +1,11 @@
allurl=http://stage.mozilla.org/pub/mozilla.org/thunderbird/nightly/2.0.0.4-candidates/rc2/ allurl=http://stage.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.4/
product=firefox product=firefox
branch=1.8.1 branch=1.8.1
url=http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.3/mac/en-US/Firefox%202.0.0.3.dmg url=http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.4/mac/en-US/Firefox%202.0.0.4.dmg
profilename=firefox-1.8.1-profile profilename=firefox-1.8.1-profile
profiledirectory=/tmp/firefox-1.8.1-profile profiledirectory=/tmp/firefox-1.8.1-profile
executablepath=/tmp/firefox-1.8.1 executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -1,12 +1,11 @@
allurl=http://stage.mozilla.org/pub/mozilla.org/firefox/thunderbird/2.0.0.4-candidates/rc2/ allurl=http://stage.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.4/
product=firefox product=firefox
branch=1.8.1 branch=1.8.1
url=http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.3/win32/en-US/Firefox%20Setup%202.0.0.3.exe url=http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.4/win32/en-US/Firefox%20Setup%202.0.0.4.exe
profilename=firefox-1.8.1-profile profilename=firefox-1.8.1-profile
profiledirectory=/tmp/firefox-1.8.1-profile profiledirectory=/tmp/firefox-1.8.1-profile
executablepath=/tmp/firefox-1.8.1 executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=ftp test=ftp
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -8,5 +8,4 @@ executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
test=all test=all
buildtype=nightly

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.8.0-profile
executablepath=/work/mozilla/builds/1.8.0/mozilla/firefox-debug/dist executablepath=/work/mozilla/builds/1.8.0/mozilla/firefox-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=debug

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.8.0 branch=1.8.0
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8.0/firefox-1.5.0.12pre.en-US.linux-i686.tar.gz url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8.0/firefox-1.5.0.13pre.en-US.linux-i686.tar.gz
profilename=firefox-1.8.0-profile profilename=firefox-1.8.0-profile
profiledirectory=/tmp/firefox-1.8.0-profile profiledirectory=/tmp/firefox-1.8.0-profile
executablepath=/tmp/firefox-1.8.0 executablepath=/tmp/firefox-1.8.0
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.8.0 branch=1.8.0
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8.0/firefox-1.5.0.12pre.en-US.mac.dmg url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8.0/firefox-1.5.0.13pre.en-US.mac.dmg
profilename=firefox-1.8.0-profile profilename=firefox-1.8.0-profile
profiledirectory=/tmp/firefox-1.8.0-profile profiledirectory=/tmp/firefox-1.8.0-profile
executablepath=/tmp/firefox-1.8.0 executablepath=/tmp/firefox-1.8.0
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.8.0 branch=1.8.0
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8.0/firefox-1.5.0.12pre.en-US.win32.zip url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8.0/firefox-1.5.0.13pre.en-US.win32.zip
profilename=firefox-1.8.0-profile profilename=firefox-1.8.0-profile
profiledirectory=/tmp/firefox-1.8.0-profile profiledirectory=/tmp/firefox-1.8.0-profile
executablepath=/tmp/firefox-1.8.0 executablepath=/tmp/firefox-1.8.0
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.8.0-profile
executablepath=/work/mozilla/builds/1.8.0/mozilla/firefox-opt/dist executablepath=/work/mozilla/builds/1.8.0/mozilla/firefox-opt/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=opt

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.8.0-test-profile
executablepath=/work/mozilla/builds/1.8.0-test/mozilla/firefox-debug/dist executablepath=/work/mozilla/builds/1.8.0-test/mozilla/firefox-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=debug

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.8.0-test-profile
executablepath=/work/mozilla/builds/1.8.0-test/mozilla/firefox-opt/dist executablepath=/work/mozilla/builds/1.8.0-test/mozilla/firefox-opt/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=opt

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.8.1-profile
executablepath=/work/mozilla/builds/1.8.1/mozilla/firefox-debug/dist executablepath=/work/mozilla/builds/1.8.1/mozilla/firefox-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=debug

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.8.1 branch=1.8.1
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/firefox-2.0.0.4pre.en-US.linux-i686.tar.gz url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/firefox-2.0.0.5pre.en-US.linux-i686.tar.gz
profilename=firefox-1.8.1-profile profilename=firefox-1.8.1-profile
profiledirectory=/tmp/firefox-1.8.1-profile profiledirectory=/tmp/firefox-1.8.1-profile
executablepath=/tmp/firefox-1.8.1 executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.8.1 branch=1.8.1
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/firefox-2.0.0.4pre.en-US.mac.dmg url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/firefox-2.0.0.5pre.en-US.mac.dmg
profilename=firefox-1.8.1-profile profilename=firefox-1.8.1-profile
profiledirectory=/tmp/firefox-1.8.1-profile profiledirectory=/tmp/firefox-1.8.1-profile
executablepath=/tmp/firefox-1.8.1 executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.8.1 branch=1.8.1
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/firefox-2.0.0.4pre.en-US.win32.zip url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/firefox-2.0.0.5pre.en-US.win32.zip
profilename=firefox-1.8.1-profile profilename=firefox-1.8.1-profile
profiledirectory=/tmp/firefox-1.8.1-profile profiledirectory=/tmp/firefox-1.8.1-profile
executablepath=/tmp/firefox-1.8.1 executablepath=/tmp/firefox-1.8.1
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.8.1-profile
executablepath=/work/mozilla/builds/1.8.1/mozilla/firefox-opt/dist executablepath=/work/mozilla/builds/1.8.1/mozilla/firefox-opt/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=opt

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.8.1-test-profile
executablepath=/work/mozilla/builds/1.8.1-test/mozilla/firefox-debug/dist executablepath=/work/mozilla/builds/1.8.1-test/mozilla/firefox-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=debug

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.8.1-test-profile
executablepath=/work/mozilla/builds/1.8.1-test/mozilla/firefox-opt/dist executablepath=/work/mozilla/builds/1.8.1-test/mozilla/firefox-opt/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=opt

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.9.0-profile
executablepath=/work/mozilla/builds/1.9.0/mozilla/firefox-debug/dist executablepath=/work/mozilla/builds/1.9.0/mozilla/firefox-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=debug

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.9.0 branch=1.9.0
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-3.0a5pre.en-US.linux-i686.tar.bz2 url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-3.0a7pre.en-US.linux-i686.tar.bz2
profilename=firefox-1.9.0-profile profilename=firefox-1.9.0-profile
profiledirectory=/tmp/firefox-1.9.0-profile profiledirectory=/tmp/firefox-1.9.0-profile
executablepath=/tmp/firefox-1.9.0 executablepath=/tmp/firefox-1.9.0
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.9.0 branch=1.9.0
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-3.0a5pre.en-US.mac.dmg url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-3.0a7pre.en-US.mac.dmg
profilename=firefox-1.9.0-profile profilename=firefox-1.9.0-profile
profiledirectory=/tmp/firefox-1.9.0-profile profiledirectory=/tmp/firefox-1.9.0-profile
executablepath=/tmp/firefox-1.9.0 executablepath=/tmp/firefox-1.9.0
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -1,10 +1,9 @@
product=firefox product=firefox
branch=1.9.0 branch=1.9.0
url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-3.0a5pre.en-US.win32.zip url=http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-3.0a7pre.en-US.win32.zip
profilename=firefox-1.9.0-profile profilename=firefox-1.9.0-profile
profiledirectory=/tmp/firefox-1.9.0-profile profiledirectory=/tmp/firefox-1.9.0-profile
executablepath=/tmp/firefox-1.9.0 executablepath=/tmp/firefox-1.9.0
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=nightly

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.9.0-profile
executablepath=/work/mozilla/builds/1.9.0/mozilla/firefox-opt/dist executablepath=/work/mozilla/builds/1.9.0/mozilla/firefox-opt/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=opt

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.9.0-test-profile
executablepath=/work/mozilla/builds/1.9.0-test/mozilla/firefox-debug/dist executablepath=/work/mozilla/builds/1.9.0-test/mozilla/firefox-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=debug

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

@ -5,5 +5,4 @@ profiledirectory=/tmp/firefox-1.9.0-test-profile
executablepath=/work/mozilla/builds/1.9.0-test/mozilla/firefox-opt/dist executablepath=/work/mozilla/builds/1.9.0-test/mozilla/firefox-opt/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
buildtype=opt

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

@ -2,5 +2,3 @@ product=js
branch=1.8.0 branch=1.8.0
sourcepath=/work/mozilla/builds/1.8.0/mozilla/js/src sourcepath=/work/mozilla/builds/1.8.0/mozilla/js/src
buildtype=debug buildtype=debug

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

@ -2,5 +2,3 @@ product=js
branch=1.8.0 branch=1.8.0
sourcepath=/work/mozilla/builds/1.8.0/mozilla/js/src sourcepath=/work/mozilla/builds/1.8.0/mozilla/js/src
buildtype=opt buildtype=opt

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

@ -2,5 +2,3 @@ product=js
branch=1.8.0 branch=1.8.0
sourcepath=/work/mozilla/builds/1.8.0-test/mozilla/js/src sourcepath=/work/mozilla/builds/1.8.0-test/mozilla/js/src
buildtype=debug buildtype=debug

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

@ -2,5 +2,3 @@ product=js
branch=1.8.0 branch=1.8.0
sourcepath=/work/mozilla/builds/1.8.0-test/mozilla/js/src sourcepath=/work/mozilla/builds/1.8.0-test/mozilla/js/src
buildtype=opt buildtype=opt

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

@ -2,5 +2,3 @@ product=js
branch=1.8.1 branch=1.8.1
sourcepath=/work/mozilla/builds/1.8.1/mozilla/js/src sourcepath=/work/mozilla/builds/1.8.1/mozilla/js/src
buildtype=debug buildtype=debug

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

@ -2,6 +2,3 @@ product=js
branch=1.8.1 branch=1.8.1
sourcepath=/work/mozilla/builds/1.8.1/mozilla/js/src sourcepath=/work/mozilla/builds/1.8.1/mozilla/js/src
buildtype=opt buildtype=opt

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

@ -2,5 +2,3 @@ product=js
branch=1.8.1 branch=1.8.1
sourcepath=/work/mozilla/builds/1.8.1-test/mozilla/js/src sourcepath=/work/mozilla/builds/1.8.1-test/mozilla/js/src
buildtype=debug buildtype=debug

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

@ -2,6 +2,3 @@ product=js
branch=1.8.1 branch=1.8.1
sourcepath=/work/mozilla/builds/1.8.1-test/mozilla/js/src sourcepath=/work/mozilla/builds/1.8.1-test/mozilla/js/src
buildtype=opt buildtype=opt

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

@ -2,5 +2,3 @@ product=js
branch=1.9.0 branch=1.9.0
sourcepath=/work/mozilla/builds/1.9.0/mozilla/js/src sourcepath=/work/mozilla/builds/1.9.0/mozilla/js/src
buildtype=debug buildtype=debug

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

@ -2,5 +2,3 @@ product=js
branch=1.9.0 branch=1.9.0
sourcepath=/work/mozilla/builds/1.9.0/mozilla/js/src sourcepath=/work/mozilla/builds/1.9.0/mozilla/js/src
buildtype=opt buildtype=opt

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

@ -2,5 +2,3 @@ product=js
branch=1.9.0 branch=1.9.0
sourcepath=/work/mozilla/builds/1.9.0-test/mozilla/js/src sourcepath=/work/mozilla/builds/1.9.0-test/mozilla/js/src
buildtype=debug buildtype=debug

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

@ -2,5 +2,3 @@ product=js
branch=1.9.0 branch=1.9.0
sourcepath=/work/mozilla/builds/1.9.0-test/mozilla/js/src sourcepath=/work/mozilla/builds/1.9.0-test/mozilla/js/src
buildtype=opt buildtype=opt

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

@ -6,5 +6,4 @@ executablepath=/work/mozilla/builds/1.8.0/mozilla/thunderbird-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap
buildtype=debug

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

@ -6,5 +6,4 @@ executablepath=/work/mozilla/builds/1.8.0-test/mozilla/thunderbird-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap
buildtype=debug

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

@ -6,5 +6,4 @@ executablepath=/work/mozilla/builds/1.8.1/mozilla/thunderbird-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap
buildtype=debug

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

@ -6,5 +6,4 @@ executablepath=/work/mozilla/builds/1.8.1-test/mozilla/thunderbird-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap
buildtype=debug

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

@ -6,5 +6,4 @@ executablepath=/work/mozilla/builds/1.9.0/mozilla/thunderbird-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap
buildtype=debug

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

@ -6,5 +6,7 @@ executablepath=/work/mozilla/builds/1.9.0-test/mozilla/thunderbird-debug/dist
userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js userpreferences=/work/mozilla/mozilla.com/test.mozilla.com/www/prefs/test-user.js
extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi extensiondir=/work/mozilla/mozilla.com/test.mozilla.com/www/xpi
profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap profiletemplate=/work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap
buildtype=debug

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

@ -20,3 +20,4 @@ user_pref("signed.applets.codebase_principal_support", true);
user_pref("mailnews.start_page.override_url", "http://test.mozilla.com/bin/install-extensions-1.html"); user_pref("mailnews.start_page.override_url", "http://test.mozilla.com/bin/install-extensions-1.html");
user_pref("mailnews.start_page.url", "http://test.mozilla.com/bin/install-extensions-1.html"); user_pref("mailnews.start_page.url", "http://test.mozilla.com/bin/install-extensions-1.html");
user_pref("mailnews.start_page.welcome_url", "http://test.mozilla.com/bin/install-extensions-1.html"); user_pref("mailnews.start_page.welcome_url", "http://test.mozilla.com/bin/install-extensions-1.html");
user_pref("browser.warnOnQuit", false);

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

@ -26,3 +26,4 @@ user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false); user_pref("security.warn_submit_insecure", false);
user_pref("security.warn_viewing_mixed", false); user_pref("security.warn_viewing_mixed", false);
user_pref("signed.applets.codebase_principal_support", true); user_pref("signed.applets.codebase_principal_support", true);
user_pref("browser.warnOnQuit", false);

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

@ -23,3 +23,4 @@ user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false); user_pref("security.warn_submit_insecure", false);
user_pref("security.warn_viewing_mixed", false); user_pref("security.warn_viewing_mixed", false);
user_pref("signed.applets.codebase_principal_support", true); user_pref("signed.applets.codebase_principal_support", true);
user_pref("browser.warnOnQuit", false);

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

@ -4,6 +4,8 @@ TEST_DIR=${TEST_DIR:-/work/mozilla/mozilla.com/test.mozilla.com/www}
TEST_BIN=${TEST_BIN:-$TEST_DIR/bin} TEST_BIN=${TEST_BIN:-$TEST_DIR/bin}
source ${TEST_BIN}/library.sh source ${TEST_BIN}/library.sh
TEST_DLDIR=${TEST_DLDIR:-$TEST_DIR/tests/mozilla.org/download-page}
TEST_DOWNLOAD_PAGE_TIMEOUT=${TEST_DOWNLOAD_PAGE_TIMEOUT:-60} TEST_DOWNLOAD_PAGE_TIMEOUT=${TEST_DOWNLOAD_PAGE_TIMEOUT:-60}
TEST_DOWNLOAD_BUILD_TIMEOUT=${TEST_DOWNLOAD_BUILD_TIMEOUT:-900} TEST_DOWNLOAD_BUILD_TIMEOUT=${TEST_DOWNLOAD_BUILD_TIMEOUT:-900}
@ -78,21 +80,23 @@ fi
executable=`get_executable $product $branch $executablepath` executable=`get_executable $product $branch $executablepath`
urlfile=`mktemp /tmp/URLS.XXXX`
if [[ "$test" == "all" ]]; then if [[ "$test" == "all" ]]; then
$TEST_BIN/timed_run.py $TEST_DOWNLOAD_PAGE_TIMEOUT "test download" \ $timed_run.py $TEST_DOWNLOAD_PAGE_TIMEOUT "test download" \
"$executable" -P "$profilename" -spider -start -quit \ "$executable" -P "$profilename" -spider -start -quit \
-uri "$allurl" -timeout=$TEST_DOWNLOAD_PAGE_TIMEOUT \ -uri "$allurl" -timeout=$TEST_DOWNLOAD_PAGE_TIMEOUT \
-hook "http://$TEST_HTTP/tests/mozilla.org/download-page/collect-urls-userhook.js" | \ -hook "http://$TEST_HTTP/tests/mozilla.org/download-page/collect-urls-userhook.js" | \
grep 'href: ' | sed 's/^href: //' > urls.txt grep 'href: ' | sed 's/^href: //' > $urlfile
elif [[ "$test" == "ftp" ]]; then elif [[ "$test" == "ftp" ]]; then
$TEST_BIN/timed_run.py $TEST_DOWNLOAD_PAGE_TIMEOUT "test download" \ $timed_run.py $TEST_DOWNLOAD_PAGE_TIMEOUT "test download" \
"$executable" -P "$profilename" -spider -start -quit \ "$executable" -P "$profilename" -spider -start -quit \
-uri "$allurl" -timeout=$TEST_DOWNLOAD_PAGE_TIMEOUT \ -uri "$allurl" -timeout=$TEST_DOWNLOAD_PAGE_TIMEOUT \
-hook "http://$TEST_HTTP/tests/mozilla.org/download-page/userhook-ftp.js" | \ -hook "http://$TEST_HTTP/tests/mozilla.org/download-page/userhook-ftp.js" | \
grep 'href: ' | sed 's/^href: //' > urls.txt grep 'href: ' | sed 's/^href: //' > $urlfile
fi fi
cat urls.txt | while read url; do cat $urlfile | while read url; do
echo "Processing $url" echo "Processing $url"
@ -123,7 +127,7 @@ cat urls.txt | while read url; do
;; ;;
esac esac
filepath=`mktemp DOWNLOAD.XXXXXX` filepath=`mktemp /tmp/DOWNLOAD.XXXXXX`
downloadexecutablepath="/tmp/download-$downloadproduct-$downloadbranch" downloadexecutablepath="/tmp/download-$downloadproduct-$downloadbranch"
downloadprofilepath="/tmp/download-$downloadproduct-$downloadbranch-profile" downloadprofilepath="/tmp/download-$downloadproduct-$downloadbranch-profile"
@ -135,14 +139,14 @@ cat urls.txt | while read url; do
if ! install-build.sh -p "$downloadproduct" -b "$downloadbranch" \ if ! install-build.sh -p "$downloadproduct" -b "$downloadbranch" \
-x $downloadexecutablepath \ -x $downloadexecutablepath \
-f `pwd`/$filepath; then -f $filepath; then
continue continue
fi fi
rm $filepath rm $filepath
if [[ "$downloadproduct" == "thunderbird" ]]; then if [[ "$downloadproduct" == "thunderbird" ]]; then
template="-L /work/mozilla/mozilla.com/test.mozilla.com/www/profiles/imap" template="-L $TEST_DIR/profiles/imap"
else else
unset template unset template
fi fi
@ -151,7 +155,7 @@ cat urls.txt | while read url; do
-x $downloadexecutablepath \ -x $downloadexecutablepath \
-D $downloadprofilepath \ -D $downloadprofilepath \
-N $downloadprofilename \ -N $downloadprofilename \
-U /work/mozilla/mozilla.com/test.mozilla.com/www/prefs/mail-user.js \ -U $TEST_DIR/prefs/mail-user.js \
$template; then $template; then
continue continue
fi fi
@ -159,7 +163,7 @@ cat urls.txt | while read url; do
if ! install-extensions.sh -p "$downloadproduct" -b "$downloadbranch" \ if ! install-extensions.sh -p "$downloadproduct" -b "$downloadbranch" \
-x $downloadexecutablepath \ -x $downloadexecutablepath \
-N $downloadprofilename \ -N $downloadprofilename \
-E /work/mozilla/mozilla.com/test.mozilla.com/www/xpi; then -E $TEST_DIR/xpi; then
continue continue
fi fi
@ -183,5 +187,6 @@ cat urls.txt | while read url; do
continue continue
fi fi
done done
rm $urlfile