test api: split installer into smaller steps

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk
2020-05-26 09:06:50 -04:00
parent 3f8f033c4c
commit ce84b811b7
2 changed files with 20 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ def base_prepare(item):
if get_force_param(item) and not TestRun.usr.already_updated:
installer.reinstall_opencas()
elif not installer.check_if_installed():
installer.install_opencas()
installer.set_up_opencas()
TestRun.usr.already_updated = True
TestRun.LOGGER.add_build_info(f'Commit hash:')
TestRun.LOGGER.add_build_info(f"{git.get_current_commit_hash()}")