Minor update for smoke test

This commit is contained in:
Miroslav Stampar
2018-03-19 01:02:28 +01:00
parent e63b97afd6
commit 305b2aa9b5
3 changed files with 6 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ import traceback
from extra.beep.beep import beep
from lib.controller.controller import start
from lib.core.common import checkIntegrity
from lib.core.common import clearConsoleLine
from lib.core.common import dataToStdout
from lib.core.common import getUnicode
@@ -87,6 +88,8 @@ def smokeTest():
status = '%d/%d (%d%%) ' % (count, length, round(100.0 * count / length))
dataToStdout("\r[%s] [INFO] complete: %s" % (time.strftime("%X"), status))
retVal &= checkIntegrity()
clearConsoleLine()
if retVal:
logger.info("smoke test final result: PASSED")