2005-01-13 23:26:58 +00:00
|
|
|
# $ENV{MOZ_PACKAGE_MSI}
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# Default: 0
|
|
|
|
# Values: 0 | 1
|
|
|
|
# Purpose: Controls whether a MSI package is made.
|
|
|
|
# Requires: Windows and a local MakeMSI installation.
|
|
|
|
$ENV{MOZ_PACKAGE_MSI} = 0;
|
|
|
|
|
|
|
|
# $ENV{MOZ_SYMBOLS_TRANSFER_TYPE}
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# Default: scp
|
|
|
|
# Values: scp | rsync
|
|
|
|
# Purpose: Use scp or rsync to transfer symbols to the Talkback server.
|
|
|
|
# Requires: The selected type requires the command be available both locally
|
|
|
|
# and on the Talkback server.
|
2005-01-28 21:44:06 +00:00
|
|
|
$ENV{MOZ_SYMBOLS_TRANSFER_TYPE} = "scp";
|
2004-12-24 21:02:21 +00:00
|
|
|
|
2000-03-21 02:52:34 +00:00
|
|
|
#- PLEASE FILL THIS IN WITH YOUR PROPER EMAIL ADDRESS
|
2003-04-21 07:27:10 +00:00
|
|
|
#$BuildAdministrator = "$ENV{USER}\@$ENV{HOST}";
|
|
|
|
$BuildAdministrator = ($ENV{USER} || "cltbld") . "\@" . ($ENV{HOST} || "dhcp");
|
2000-03-21 02:52:34 +00:00
|
|
|
|
|
|
|
#- You'll need to change these to suit your machine's needs
|
|
|
|
$DisplayServer = ':0.0';
|
|
|
|
|
|
|
|
#- Default values of command-line opts
|
|
|
|
#-
|
|
|
|
$BuildDepend = 1; # Depend or Clobber
|
2003-01-08 02:50:57 +00:00
|
|
|
$BuildDebug = 0; # Debug or Opt (Darwin)
|
2000-03-21 02:52:34 +00:00
|
|
|
$ReportStatus = 1; # Send results to server, or not
|
|
|
|
$ReportFinalStatus = 1; # Finer control over $ReportStatus.
|
|
|
|
$UseTimeStamp = 1; # Use the CVS 'pull-by-timestamp' option, or not
|
|
|
|
$BuildOnce = 0; # Build once, don't send results to server
|
2005-08-01 14:14:38 +00:00
|
|
|
$ConfigureOnly = 0; # Configure, but do not build.
|
2000-03-21 02:52:34 +00:00
|
|
|
$TestOnly = 0; # Only run tests, don't pull/build
|
2001-03-03 02:14:29 +00:00
|
|
|
$BuildEmbed = 0; # After building seamonkey, go build embed app.
|
2003-01-08 02:50:57 +00:00
|
|
|
$SkipMozilla = 0; # Use to debug post-mozilla.pl scripts.
|
2004-10-15 22:27:38 +00:00
|
|
|
$BuildLocales = 0; # Do l10n packaging?
|
2001-03-03 02:14:29 +00:00
|
|
|
|
2005-08-01 14:14:38 +00:00
|
|
|
# Only used when $BuildLocales = 1
|
|
|
|
%WGetFiles = (); # Pull files from the web, URL => Location
|
|
|
|
$WGetTimeout = 360; # Wget timeout, in seconds
|
|
|
|
$BuildLocalesArgs = ""; # Extra attributes to add to the makefile command
|
|
|
|
# which builds the "installers-<locale>" target.
|
|
|
|
# Typically used to set ZIP_IN and WIN32_INSTALLER_IN
|
|
|
|
|
2000-03-21 02:52:34 +00:00
|
|
|
# Tests
|
2001-11-02 01:35:13 +00:00
|
|
|
$CleanProfile = 0;
|
2002-07-19 21:03:01 +00:00
|
|
|
$ResetHomeDirForTests = 1;
|
2002-10-20 07:28:24 +00:00
|
|
|
$ProductName = "Mozilla";
|
2004-06-04 00:00:35 +00:00
|
|
|
$VendorName = '';
|
2002-07-19 21:03:01 +00:00
|
|
|
|
2002-07-23 07:52:30 +00:00
|
|
|
$RunMozillaTests = 1; # Allow turning off of all tests if needed.
|
2001-12-05 09:23:07 +00:00
|
|
|
$RegxpcomTest = 1;
|
2001-08-23 01:06:35 +00:00
|
|
|
$AliveTest = 1;
|
|
|
|
$JavaTest = 0;
|
|
|
|
$ViewerTest = 0;
|
2003-04-15 00:46:31 +00:00
|
|
|
$BloatTest = 0; # warren memory bloat test
|
|
|
|
$BloatTest2 = 0; # dbaron memory bloat test, require tracemalloc
|
|
|
|
$DomToTextConversionTest = 0;
|
2002-12-20 23:40:04 +00:00
|
|
|
$XpcomGlueTest = 0;
|
2003-04-15 00:46:31 +00:00
|
|
|
$CodesizeTest = 0; # Z, require mozilla/tools/codesighs
|
|
|
|
$EmbedCodesizeTest = 0; # mZ, require mozilla/tools/codesigns
|
2001-11-30 02:03:24 +00:00
|
|
|
$MailBloatTest = 0;
|
2001-08-23 01:06:35 +00:00
|
|
|
$EmbedTest = 0; # Assumes you wanted $BuildEmbed=1
|
2003-04-15 00:46:31 +00:00
|
|
|
$LayoutPerformanceTest = 0; # Tp
|
2004-08-09 21:24:03 +00:00
|
|
|
$DHTMLPerformanceTest = 0; # Tdhtml
|
2003-04-15 00:46:31 +00:00
|
|
|
$QATest = 0;
|
|
|
|
$XULWindowOpenTest = 0; # Txul
|
|
|
|
$StartupPerformanceTest = 0; # Ts
|
2005-08-19 19:07:17 +00:00
|
|
|
$NeckoUnitTest = 0;
|
2005-05-05 19:15:30 +00:00
|
|
|
@CompareLocaleDirs = (); # Run compare-locales test on these directories
|
|
|
|
# ("network","dom","toolkit","security/manager");
|
|
|
|
$CompareLocalesAviary = 0; # Should the compare-locales commands use the
|
|
|
|
# aviary directory structure?
|
2001-12-07 11:13:55 +00:00
|
|
|
|
2001-10-30 07:34:34 +00:00
|
|
|
$TestsPhoneHome = 0; # Should test report back to server?
|
2005-01-18 06:55:52 +00:00
|
|
|
|
|
|
|
# $results_server
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# Server on which test results will be accessible. This was originally tegu,
|
|
|
|
# then became axolotl. Once we moved services from axolotl, it was time
|
|
|
|
# to give this service its own hostname to make future transitions easier.
|
|
|
|
# - cmp@mozilla.org
|
|
|
|
$results_server = "build-graphs.mozilla.org";
|
|
|
|
|
2002-07-24 18:08:15 +00:00
|
|
|
$pageload_server = "spider"; # localhost
|
2001-04-09 23:08:28 +00:00
|
|
|
|
2001-11-30 21:56:21 +00:00
|
|
|
#
|
|
|
|
# Timeouts, values are in seconds.
|
|
|
|
#
|
2004-01-31 21:31:54 +00:00
|
|
|
$CVSCheckoutTimeout = 3600;
|
2002-01-16 02:18:27 +00:00
|
|
|
$CreateProfileTimeout = 45;
|
2004-06-21 23:50:38 +00:00
|
|
|
$RegxpcomTestTimeout = 120;
|
2001-11-30 21:56:21 +00:00
|
|
|
|
2002-01-16 02:18:27 +00:00
|
|
|
$AliveTestTimeout = 45;
|
|
|
|
$ViewerTestTimeout = 45;
|
|
|
|
$EmbedTestTimeout = 45;
|
|
|
|
$BloatTestTimeout = 120; # seconds
|
|
|
|
$MailBloatTestTimeout = 120; # seconds
|
|
|
|
$JavaTestTimeout = 45;
|
|
|
|
$DomTestTimeout = 45; # seconds
|
2002-12-17 09:04:00 +00:00
|
|
|
$XpcomGlueTestTimeout = 15;
|
2002-12-25 00:11:20 +00:00
|
|
|
$CodesizeTestTimeout = 900; # seconds
|
|
|
|
$CodesizeTestType = "auto"; # {"auto"|"base"}
|
2002-01-16 02:18:27 +00:00
|
|
|
$LayoutPerformanceTestTimeout = 1200; # entire test, seconds
|
2004-08-09 21:24:03 +00:00
|
|
|
$DHTMLPerformanceTestTimeout = 1200; # entire test, seconds
|
2003-02-19 23:48:24 +00:00
|
|
|
$QATestTimeout = 1200; # entire test, seconds
|
2002-01-16 02:18:27 +00:00
|
|
|
$LayoutPerformanceTestPageTimeout = 30000; # each page, ms
|
2005-01-02 21:56:04 +00:00
|
|
|
$StartupPerformanceTestTimeout = 15; # seconds
|
2005-08-11 00:03:08 +00:00
|
|
|
$NeckoUnitTestTimeout = 30; # seconds
|
2002-01-16 02:18:27 +00:00
|
|
|
$XULWindowOpenTestTimeout = 150; # seconds
|
2001-11-30 21:56:21 +00:00
|
|
|
|
2001-04-09 23:08:28 +00:00
|
|
|
|
|
|
|
$MozConfigFileName = 'mozconfig';
|
2003-02-18 00:22:42 +00:00
|
|
|
|
|
|
|
$UseMozillaProfile = 1;
|
2001-04-09 23:08:28 +00:00
|
|
|
$MozProfileName = 'default';
|
2000-03-21 02:52:34 +00:00
|
|
|
|
|
|
|
#- Set these to what makes sense for your system
|
|
|
|
$Make = 'gmake'; # Must be GNU make
|
|
|
|
$MakeOverrides = '';
|
|
|
|
$mail = '/bin/mail';
|
|
|
|
$CVS = 'cvs -q';
|
|
|
|
$CVSCO = 'checkout -P';
|
|
|
|
|
2001-12-21 06:52:19 +00:00
|
|
|
# win32 usually doesn't have /bin/mail
|
|
|
|
$blat = 'c:/nstools/bin/blat';
|
|
|
|
$use_blat = 0;
|
|
|
|
|
2001-08-20 22:45:25 +00:00
|
|
|
# Set moz_cvsroot to something like:
|
|
|
|
# :pserver:$ENV{USER}%netscape.com\@cvs.mozilla.org:/cvsroot
|
2001-08-23 07:09:09 +00:00
|
|
|
# :pserver:anonymous\@cvs-mirror.mozilla.org:/cvsroot
|
2003-02-18 23:48:13 +00:00
|
|
|
#
|
|
|
|
# Note that win32 may not need \@, depends on ' or ".
|
|
|
|
# :pserver:$ENV{USER}%netscape.com@cvs.mozilla.org:/cvsroot
|
|
|
|
|
2001-12-21 03:05:28 +00:00
|
|
|
$moz_cvsroot = $ENV{CVSROOT};
|
2001-08-20 22:45:25 +00:00
|
|
|
|
2000-03-21 02:52:34 +00:00
|
|
|
#- Set these proper values for your tinderbox server
|
|
|
|
$Tinderbox_server = 'tinderbox-daemon@tinderbox.mozilla.org';
|
|
|
|
|
2003-06-26 01:06:48 +00:00
|
|
|
# Allow for non-client builds, e.g. camino.
|
|
|
|
$moz_client_mk = 'client.mk';
|
|
|
|
|
2000-04-18 07:03:15 +00:00
|
|
|
#- Set if you want to build in a separate object tree
|
|
|
|
$ObjDir = '';
|
|
|
|
|
2002-07-12 22:45:41 +00:00
|
|
|
# Extra build name, if needed.
|
|
|
|
$BuildNameExtra = '';
|
|
|
|
|
2001-04-06 22:38:16 +00:00
|
|
|
# User comment, eg. ip address for dhcp builds.
|
|
|
|
# ex: $UserComment = "ip = 208.12.36.108";
|
|
|
|
$UserComment = 0;
|
|
|
|
|
2000-03-21 02:52:34 +00:00
|
|
|
#-
|
|
|
|
#- The rest should not need to be changed
|
|
|
|
#-
|
|
|
|
|
|
|
|
#- Minimum wait period from start of build to start of next build in minutes.
|
|
|
|
$BuildSleep = 10;
|
|
|
|
|
|
|
|
#- Until you get the script working. When it works,
|
|
|
|
#- change to the tree you're actually building
|
2001-11-17 10:29:27 +00:00
|
|
|
$BuildTree = 'MozillaTest';
|
2000-03-21 02:52:34 +00:00
|
|
|
|
|
|
|
$BuildName = '';
|
|
|
|
$BuildTag = '';
|
|
|
|
$BuildConfigDir = 'mozilla/config';
|
|
|
|
$Topsrcdir = 'mozilla';
|
2001-03-03 02:14:29 +00:00
|
|
|
|
2000-03-21 02:52:34 +00:00
|
|
|
$BinaryName = 'mozilla-bin';
|
2001-03-03 02:14:29 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# For embedding app, use:
|
2001-08-14 04:41:16 +00:00
|
|
|
$EmbedBinaryName = 'TestGtkEmbed';
|
|
|
|
$EmbedDistDir = 'dist/bin'
|
2001-03-03 02:14:29 +00:00
|
|
|
|
|
|
|
|
2000-03-21 02:52:34 +00:00
|
|
|
$ShellOverride = ''; # Only used if the default shell is too stupid
|
|
|
|
$ConfigureArgs = '';
|
|
|
|
$ConfigureEnvArgs = '';
|
|
|
|
$Compiler = 'gcc';
|
|
|
|
$NSPRArgs = '';
|
|
|
|
$ShellOverride = '';
|
2002-04-15 05:40:49 +00:00
|
|
|
|
2004-04-19 18:57:39 +00:00
|
|
|
# Release build options
|
|
|
|
$ReleaseBuild = 1;
|
2005-06-10 22:45:38 +00:00
|
|
|
$LocaleProduct = "browser";
|
2004-04-19 18:57:39 +00:00
|
|
|
$shiptalkback = 1;
|
2004-11-05 23:00:07 +00:00
|
|
|
$ReleaseToLatest = 1; # Push the release to latest-<milestone>?
|
|
|
|
$ReleaseToDated = 1; # Push the release to YYYY-MM-DD-HH-<milestone>?
|
2004-04-19 18:57:39 +00:00
|
|
|
$build_hour = "8";
|
|
|
|
$package_creation_path = "/xpinstall/packager";
|
2004-06-28 22:19:54 +00:00
|
|
|
# needs setting for mac + talkback: $mac_bundle_path = "/browser/app";
|
2004-04-19 18:57:39 +00:00
|
|
|
$ssh_version = "1";
|
|
|
|
$ssh_user = "cltbld";
|
|
|
|
$ssh_server = "stage.mozilla.org";
|
|
|
|
$ftp_path = "/home/ftp/pub/mozilla/nightly/experimental";
|
|
|
|
$url_path = "http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/experimental";
|
|
|
|
$tbox_ftp_path = $ftp_path;
|
|
|
|
$tbox_url_path = $url_path;
|
|
|
|
$milestone = "trunk";
|
2005-02-10 21:41:01 +00:00
|
|
|
$notify_list = "cmp\@mozilla.org";
|
2004-04-19 18:57:39 +00:00
|
|
|
$stub_installer = 1;
|
|
|
|
$sea_installer = 1;
|
|
|
|
$archive = 0;
|
2004-09-20 22:10:28 +00:00
|
|
|
$push_raw_xpis = 1;
|
2005-08-19 19:07:17 +00:00
|
|
|
$update_package = 0;
|
2005-08-19 19:38:41 +00:00
|
|
|
#$update_product = "Firefox";
|
|
|
|
#$update_version = "trunk";
|
|
|
|
#$update_platform = "WINNT_x86-msvc";
|
2005-08-19 23:41:52 +00:00
|
|
|
#$update_hash = "md5";
|
|
|
|
#$update_filehost = "ftp.mozilla.org";
|
2005-08-30 20:02:28 +00:00
|
|
|
#$update_appv = "1.0+";
|
|
|
|
#$update_extv = "1.0+";
|
2004-04-19 18:57:39 +00:00
|
|
|
|
2002-04-15 05:40:49 +00:00
|
|
|
# Reboot the OS at the end of build-and-test cycle. This is primarily
|
|
|
|
# intended for Win9x, which can't last more than a few cycles before
|
|
|
|
# locking up (and testing would be suspect even after a couple of cycles).
|
|
|
|
# Right now, there is only code to force the reboot for Win9x, so even
|
|
|
|
# setting this to 1, will not have an effect on other platforms. Setting
|
|
|
|
# up win9x to automatically logon and begin running tinderbox is left
|
|
|
|
# as an exercise to the reader.
|
|
|
|
$RebootSystem = 0;
|
|
|
|
|
2004-03-24 03:37:38 +00:00
|
|
|
# LogCompression specifies the type of compression used on the log file.
|
|
|
|
# Valid options are 'gzip', and 'bzip2'. Please make sure the binaries
|
|
|
|
# for 'gzip' or 'bzip2' are in the user's path before setting this
|
|
|
|
# option.
|
|
|
|
$LogCompression = '';
|
|
|
|
|
|
|
|
# LogEncoding specifies the encoding format used for the logs. Valid
|
|
|
|
# options are 'base64', and 'uuencode'. If $LogCompression is set above,
|
|
|
|
# this needs to be set to 'base64' or 'uuencode' to ensure that the
|
|
|
|
# binary data is transferred properly.
|
|
|
|
$LogEncoding = '';
|
|
|
|
|
2004-06-18 08:13:40 +00:00
|
|
|
# Prevent Extension Manager from spawning child processes during tests
|
|
|
|
# - processes that tbox scripts cannot kill.
|
|
|
|
$ENV{NO_EM_RESTART} = '1';
|