Add timing information to test harness.
This commit is contained in:
parent
fc65ddb7df
commit
14da398dee
@ -415,6 +415,7 @@ def processResults():
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
t1 = time.time()
|
||||||
optionParser = TestOptions()
|
optionParser = TestOptions()
|
||||||
options, args = optionParser.parse_args()
|
options, args = optionParser.parse_args()
|
||||||
options = optionParser.verifyOptions(options)
|
options = optionParser.verifyOptions(options)
|
||||||
@ -434,6 +435,8 @@ def main():
|
|||||||
processResults()
|
processResults()
|
||||||
finally:
|
finally:
|
||||||
teardownBrowsers(browsers)
|
teardownBrowsers(browsers)
|
||||||
|
t2 = time.time()
|
||||||
|
print "Runtime was", int(t2 - t1), "seconds"
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user