bug 419509 - add runtests.py to unittest staging, fixes

This commit is contained in:
rcampbell%mozilla.com 2008-03-04 17:07:08 +00:00
Родитель 46cf059535
Коммит 9307659e3b
1 изменённых файлов: 27 добавлений и 14 удалений

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

@ -88,18 +88,20 @@ c['schedulers'].append(Scheduler(name="bonsai build scheduler",
builderNames=[ builderNames=[
"WINNT 5.1 qm-stage-winxp01 dep unit test", "WINNT 5.1 qm-stage-winxp01 dep unit test",
# "WINNT 5.2 qm-stage-win2k3-01 dep unit test", # "WINNT 5.2 qm-stage-win2k3-01 dep unit test",
"WINNT 5.1 qm-winxp01 dep unit test",
"Linux qm-stage-centos5-01 dep unit test", "Linux qm-stage-centos5-01 dep unit test",
"MacOSX Darwin 8.8.4 qm-stage-osx-01 dep unit test" "MacOSX Darwin 8.8.4 qm-stage-osx-01 dep unit test",
# "MacOSX Darwin 9.1.0 qm-xserve02 dep unit test" "MacOSX Darwin 9.1.0 qm-xserve02 dep unit test"
])) ]))
c['schedulers'].append(Periodic(name="9 hour build scheduler", c['schedulers'].append(Periodic(name="9 hour build scheduler",
builderNames=[ builderNames=[
"WINNT 5.1 qm-stage-winxp01 dep unit test", "WINNT 5.1 qm-stage-winxp01 dep unit test",
# "WINNT 5.2 qm-stage-win2k3-01 dep unit test", # "WINNT 5.2 qm-stage-win2k3-01 dep unit test",
"WINNT 5.1 qm-winxp01 dep unit test",
"Linux qm-stage-centos5-01 dep unit test", "Linux qm-stage-centos5-01 dep unit test",
"MacOSX Darwin 8.8.4 qm-stage-osx-01 dep unit test" "MacOSX Darwin 8.8.4 qm-stage-osx-01 dep unit test",
# "MacOSX Darwin 9.1.0 qm-xserve02 dep unit test" "MacOSX Darwin 9.1.0 qm-xserve02 dep unit test"
], ],
periodicBuildTimer=9*60*60)) periodicBuildTimer=9*60*60))
@ -346,14 +348,14 @@ leopardFactory.addStep(MozillaOSXBrowserChromeTest, warnOnWarnings=True,
workdir="mozilla/objdir/_tests/testing/mochitest", workdir="mozilla/objdir/_tests/testing/mochitest",
env=MozillaEnvironments['osx']) env=MozillaEnvironments['osx'])
#firefox_trunk_leopard_builder = { firefox_trunk_leopard_builder = {
# 'name': "MacOSX Darwin 9.1.0 qm-xserve02 dep unit test", 'name': "MacOSX Darwin 9.1.0 qm-xserve02 dep unit test",
# 'slavenames': ['qm-xserve02'], 'slavenames': ['qm-xserve02'],
# 'builddir': "trunk_leopard", 'builddir': "trunk_leopard",
# 'factory': leopardFactory, 'factory': leopardFactory,
# 'category': "Firefox"} 'category': "Firefox"}
#
#builders.append(firefox_trunk_leopard_builder) builders.append(firefox_trunk_leopard_builder)
# firefox_trunk_osx_builder2 = { # firefox_trunk_osx_builder2 = {
# 'name': "MacOSX Darwin 8.8.4 bm-xserve07 dep unit test", # 'name': "MacOSX Darwin 8.8.4 bm-xserve07 dep unit test",
@ -460,11 +462,22 @@ firefox_trunk_winxp_builder = {
'slavenames': ['win-vc8'], 'slavenames': ['win-vc8'],
'builddir': "trunk", 'builddir': "trunk",
'factory': winxpFactory, 'factory': winxpFactory,
'category': "Firefox", 'category': "Firefox"
} }
builders.append(firefox_trunk_winxp_builder) builders.append(firefox_trunk_winxp_builder)
firefox_trunk_winxp_orig_builder = {
'name': "WINNT 5.1 qm-winxp01 dep unit test",
'slavenames': ['win-vc8-2'],
'builddir': "trunk_winxp",
'factory': winxpFactory,
'category': "Firefox"
}
builders.append(firefox_trunk_winxp_orig_builder)
## ##
## Win2k3 ## Win2k3
## ##
@ -549,7 +562,7 @@ win2k3Factory.addStep(ShellCommand, warnOnWarnings=True,
command="del places.sqlite") command="del places.sqlite")
win2k3Factory.addStep(MozillaWin32Mochitest, warnOnWarnings=True, win2k3Factory.addStep(MozillaWin32Mochitest, warnOnWarnings=True,
workdir="mozilla/objdir/_tests/testing/mochitest", workdir="mozilla/objdir/_tests/testing/mochitest",
command='perl runtests.pl --appname=../../../dist/bin/firefox.exe --autorun --console-level=INFO --close-when-done', command='python runtests.py --appname=../../../dist/bin/firefox.exe --autorun --console-level=INFO --close-when-done',
env=MozillaEnvironments['mozbuild']) env=MozillaEnvironments['mozbuild'])
# win2k3Factory.addStep(MozillaWin32Mochichrome, warnOnWarnings=True, # win2k3Factory.addStep(MozillaWin32Mochichrome, warnOnWarnings=True,
# workdir="mozilla/objdir/_tests/testing/mochitest", # workdir="mozilla/objdir/_tests/testing/mochitest",