]> git.parisson.com Git - pdf.js.git/commitdiff
Add timing information to test harness.
authorRob Sayre <sayrer@gmail.com>
Sun, 26 Jun 2011 17:54:57 +0000 (10:54 -0700)
committerRob Sayre <sayrer@gmail.com>
Sun, 26 Jun 2011 17:54:57 +0000 (10:54 -0700)
test/test.py

index 5aece2c24cccf96431fcf7ff00d19887b093aa94..96aeb5cec3289fce9651b8a490ac590ca17a5546 100644 (file)
@@ -415,6 +415,7 @@ def processResults():
 
 
 def main():
+    t1 = time.time()
     optionParser = TestOptions()
     options, args = optionParser.parse_args()
     options = optionParser.verifyOptions(options)
@@ -434,6 +435,8 @@ def main():
         processResults()
     finally:
         teardownBrowsers(browsers)
+    t2 = time.time()
+    print "Runtime was", int(t2 - t1), "seconds"
 
 if __name__ == '__main__':
     main()