Add timing information to test harness.

This commit is contained in:
Rob Sayre 2011-06-26 10:54:57 -07:00
parent fc65ddb7df
commit 14da398dee

View 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()