]> git.parisson.com Git - pdf.js.git/commitdiff
fix bug in testing multiple browsers
authorChris Jones <jones.chris.g@gmail.com>
Thu, 23 Jun 2011 03:47:37 +0000 (20:47 -0700)
committerChris Jones <jones.chris.g@gmail.com>
Thu, 23 Jun 2011 03:47:37 +0000 (20:47 -0700)
test.py

diff --git a/test.py b/test.py
index 1557714d633315f5129c61fd48e9b2be12aa2154..9eab0e80e1bf812bb80f8fe6413037e3b3552192 100644 (file)
--- a/test.py
+++ b/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