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)
|
assert not os.path.isdir(TMPDIR)
|
||||||
|
|
||||||
testBrowsers = [ b for b in
|
testBrowsers = [ b for b in
|
||||||
( 'firefox5', )
|
( 'firefox5', 'firefox6', )
|
||||||
#'chrome12', 'chrome13', 'firefox4', 'firefox6','opera11' ):
|
#'chrome12', 'chrome13', 'firefox4', 'opera11' ):
|
||||||
if os.access(b, os.R_OK | os.X_OK) ]
|
if os.access(b, os.R_OK | os.X_OK) ]
|
||||||
|
|
||||||
mf = open(manifestFile)
|
mf = open(manifestFile)
|
||||||
@ -152,7 +152,7 @@ def setUp(manifestFile, masterMode):
|
|||||||
taskResults.append([ ])
|
taskResults.append([ ])
|
||||||
State.taskResults[b][id] = taskResults
|
State.taskResults[b][id] = taskResults
|
||||||
|
|
||||||
State.remaining = len(manifestList)
|
State.remaining = len(testBrowsers) * len(manifestList)
|
||||||
|
|
||||||
for b in testBrowsers:
|
for b in testBrowsers:
|
||||||
print 'Launching', b
|
print 'Launching', b
|
||||||
|
Loading…
x
Reference in New Issue
Block a user