fix bug in testing multiple browsers
This commit is contained in:
parent
35b6569f5e
commit
0d4be031b9
6
test.py
6
test.py
@ -117,8 +117,8 @@ def setUp(manifestFile, masterMode):
|
||||
assert not os.path.isdir(TMPDIR)
|
||||
|
||||
testBrowsers = [ b for b in
|
||||
( 'firefox5', )
|
||||
#'chrome12', 'chrome13', 'firefox4', 'firefox6','opera11' ):
|
||||
( 'firefox5', 'firefox6', )
|
||||
#'chrome12', 'chrome13', 'firefox4', 'opera11' ):
|
||||
if os.access(b, os.R_OK | os.X_OK) ]
|
||||
|
||||
mf = open(manifestFile)
|
||||
@ -152,7 +152,7 @@ def setUp(manifestFile, masterMode):
|
||||
taskResults.append([ ])
|
||||
State.taskResults[b][id] = taskResults
|
||||
|
||||
State.remaining = len(manifestList)
|
||||
State.remaining = len(testBrowsers) * len(manifestList)
|
||||
|
||||
for b in testBrowsers:
|
||||
print 'Launching', b
|
||||
|
Loading…
x
Reference in New Issue
Block a user