Browse Source

fix bug in testing multiple browsers

Chris Jones 14 years ago
parent
commit
1532e86dcb
  1. 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…
Cancel
Save