bug 420073 - run unittests on PGO-enabled-builds, p=mikeal, r=robcee

git-svn-id: svn://10.0.0.236/trunk@250371 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rcampbell%mozilla.com
2008-04-17 14:55:38 +00:00
parent 504d02420f
commit bd946c0b0f
2 changed files with 10 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ c['schedulers'].append(Scheduler(name="bonsai build scheduler",
"WINNT 5.2 qm-win2k3-01 dep unit test",
"WINNT 5.2 qm-win2k3-02 dep unit test",
"WINNT 5.2 qm-win2k3-03 dep unit test",
"WINNT 5.2 bm-win2k3-pgo01 dep unit test",
"WINNT 5.2 qm-win2k3-pgo01 dep unit test",
"Linux qm-centos5-01 dep unit test",
"MacOSX Darwin 8.8.4 qm-xserve01 dep unit test"
# "MacOSX Darwin 9.1.0 qm-xserve02 dep unit test"
@@ -100,7 +100,7 @@ c['schedulers'].append(Periodic(name="9 hour build scheduler",
"WINNT 5.2 qm-win2k3-01 dep unit test",
"WINNT 5.2 qm-win2k3-02 dep unit test",
"WINNT 5.2 qm-win2k3-03 dep unit test",
"WINNT 5.2 bm-win2k3-pgo01 dep unit test",
"WINNT 5.2 qm-win2k3-pgo01 dep unit test",
"Linux qm-centos5-01 dep unit test",
"MacOSX Darwin 8.8.4 qm-xserve01 dep unit test"
# "MacOSX Darwin 9.1.0 qm-xserve02 dep unit test"
@@ -669,17 +669,18 @@ win2k3PGOFactory.addStep(MozillaWin32Crashtest, warnOnWarnings=True,
command=[r'..\..\objdir\dist\bin\firefox.exe -P default -reftest crashtests.list'])
win2k3PGOFactory.addStep(MozillaWin32Mochitest, warnOnWarnings=True,
workdir="mozilla/objdir/_tests/testing/mochitest",
command='python runtests.py --appname=../../../dist/bin/firefox.exe --autorun --console-level=INFO --close-when-done',
command='perl runtests.pl --appname=../../../dist/bin/firefox.exe --autorun --console-level=INFO --close-when-done',
env=MozillaEnvironments['mozbuild_pgo'])
# win2k3PGOFactory.addStep(MozillaWin32Mochichrome, warnOnWarnings=True,
# workdir="mozilla/objdir/_tests/testing/mochitest",
# env=MozillaEnvironments['vc8'])
win2k3PGOFactory.addStep(MozillaWin32BrowserChromeTest, warnOnWarnings=True,
workdir="mozilla/objdir/_tests/testing/mochitest",
env=MozillaEnvironments['mozbuild_pgo'])
env=MozillaEnvironments['mozbuild_pgo'],
command='perl runtests.pl --appname=../../../dist/bin/firefox.exe --chrome --autorun --console-level=INFO --close-when-done')
firefox_trunk_win2k3_pgo_builder = {
'name': "WINNT 5.2 bm-win2k3-pgo01 dep unit test",
'name': "WINNT 5.2 qm-win2k3-pgo01 dep unit test",
'slavenames': ['qm-win2k3-pgo01'],
'builddir': "trunk_2k3_pgo",
'factory': win2k3PGOFactory,

View File

@@ -1,5 +1,9 @@
# tools/buildbot-configs/testing/unittest/mozconfig-win2k3-pgo
export CFLAGS="-GL -wd4624 -wd4952"
export CXXFLAGS="-GL -wd4624 -wd4952"
export LDFLAGS="-LTCG"
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-places
ac_add_options --disable-installer
@@ -21,4 +25,3 @@ ac_add_options --enable-logrefcnt
# mozilla/testing/tools needed for buildbot profile (re)creation
mk_add_options MOZ_CO_MODULE="mozilla/testing/tools"
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'