bug 432893 - setup qm-vista02 on unittest staging

This commit is contained in:
rcampbell%mozilla.com 2008-06-18 23:10:44 +00:00
Родитель 242bf975ba
Коммит 737168ade0
1 изменённых файлов: 103 добавлений и 0 удалений

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

@ -94,6 +94,7 @@ c['schedulers'].append(Scheduler(name="bonsai build scheduler",
# "MacOSX Darwin 8.8.4 qm-xserve06 dep unit test",
"MacOSX Darwin 9.1.0 qm-xserve02 dep unit test",
"WINNT 5.2 qm-win2k3-stage-pgo01 dep unit test",
"WINNT 5.1 qm-vista02 dep unit test",
# "WINNT 5.2 qm-win2k3-pgo01 dep unit test",
]))
@ -107,6 +108,7 @@ c['schedulers'].append(Periodic(name="9 hour build scheduler",
# "MacOSX Darwin 8.8.4 qm-xserve06 dep unit test",
"MacOSX Darwin 9.1.0 qm-xserve02 dep unit test",
"WINNT 5.2 qm-win2k3-stage-pgo01 dep unit test",
"WINNT 5.1 qm-vista02 dep unit test",
# "WINNT 5.2 qm-win2k3-pgo01 dep unit test",
],
periodicBuildTimer=9*60*60))
@ -897,4 +899,105 @@ firefox_trunk_win2k3_pgo_builder = {
builders.append(firefox_trunk_win2k3_pgo_builder)
# builders.append(firefox_trunk_win2k3_production_pgo_builder)
##
## Vista
##
vistaFactory = factory.BuildFactory()
vistaFactory.addStep(TinderboxShellCommand, name="kill sh",
description='kill sh',
descriptionDone="killed sh",
command="pskill -t sh.exe",
workdir="C:\\Utilities")
vistaFactory.addStep(TinderboxShellCommand, name="kill make",
description='kill make',
descriptionDone="killed make",
command="pskill -t make.exe",
workdir="C:\\Utilities")
vistaFactory.addStep(TinderboxShellCommand, name="kill firefox",
description='kill firefox',
descriptionDone="killed firefox",
command="pskill -t firefox.exe",
workdir="C:\\Utilities")
vistaFactory.addStep(CreateDir,
description=["creating logs/ dir"],
descriptionDone=["created logs/ dir"],
workdir='.',
dir='logs',
platform="win_vista")
vistaFactory.addStep(CreateDir,
description=["creating clobber_files/ dir"],
descriptionDone=["created clobber_files/ dir"],
workdir='.',
dir='clobber_files',
platform="win_vista")
vistaFactory.addStep(UpdateClobberFiles,
cvsroot=CVSROOT,
workdir='.',
platform='',
logDir='..\\logs\\',
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(MozillaClobberWin,
workdir='.',
slaveName="slave",
platform="win_vista",
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(MozillaCheckoutClientMk,
workdir=".",
cvsroot=CVSROOT,
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(FileDownload, mastersrc="mozconfig-vista",
slavedest=".mozconfig",
workdir="mozilla")
vistaFactory.addStep(step.ShellCommand, name="mozconfig contents",
command=["cat",".mozconfig"],
workdir="mozilla",
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(step.Compile, name="checkout",
description=["checking out"],
descriptionDone = ["checkout"],
command=["make","-f","client.mk","checkout"],
workdir='mozilla',
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(step.Compile,
command=["make", "-f", "client.mk", "build"],
workdir='mozilla',
timeout=60*40,
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(MozillaCheck, warnOnWarnings=True,
workdir="mozilla/objdir",
timeout=60*40,
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(CreateProfileWin,
warnOnWarnings=True,
workdir=".",
env=MozillaEnvironments['mozbuild'],
clobber=True)
vistaFactory.addStep(MozillaWin32Reftest, warnOnWarnings=True,
workdir="mozilla/layout/reftests",
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(MozillaWin32Crashtest, warnOnWarnings=True,
workdir="mozilla/testing/crashtest",
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(MozillaWin32Mochitest, warnOnWarnings=True,
workdir="mozilla/objdir/_tests/testing/mochitest",
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(MozillaWin32Mochichrome, warnOnWarnings=True,
workdir="mozilla/objdir/_tests/testing/mochitest",
env=MozillaEnvironments['mozbuild'])
vistaFactory.addStep(MozillaWin32BrowserChromeTest, warnOnWarnings=True,
workdir="mozilla/objdir/_tests/testing/mochitest",
env=MozillaEnvironments['mozbuild'])
firefox_trunk_vista_builder = {
'name': "WINNT 5.1 qm-vista02 dep unit test",
'slavenames': ['vista'],
'builddir': "trunk_win_vista",
'factory': vistaFactory,
'category': "Firefox"
}
builders.append(firefox_trunk_vista_builder)
c['builders'] = builders