提交 ea628239 编写于 作者: J Jonas Eriksson

boot_time: Output result into keyval file

Signed-off-by: NJonas Eriksson <jonas.eriksson@enea.com>
上级 0b62f7ec
......@@ -43,6 +43,7 @@ def run(test, params, env):
vm.verify_alive()
session = vm.wait_for_serial_login(timeout=timeout)
boot_time = time.time() - vm.start_time
test.write_test_keyval({'result': "%ss" % boot_time})
expect_time = int(params.get("expect_bootup_time", "17"))
logging.info("Boot up time: %ss" % boot_time)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册