mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Added few change for test suite result location
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
This commit is contained in:
parent
2be02d1f51
commit
34b698d44d
@ -288,6 +288,7 @@ class MarvinPlugin(Plugin):
|
||||
def finalize(self, result):
|
||||
try:
|
||||
src = self.__logFolderPath
|
||||
tmp = ''
|
||||
if not self.__userLogPath:
|
||||
log_cfg = self.__parsedConfig.logger
|
||||
tmp = log_cfg.__dict__.get('LogFolderPath') + "/MarvinLogs"
|
||||
@ -299,7 +300,7 @@ class MarvinPlugin(Plugin):
|
||||
mod_name = self.__testModName.split(".")
|
||||
if len(mod_name) > 2:
|
||||
mod_name = mod_name[-2]
|
||||
if mod_name:
|
||||
if mod_name and type(mod_name) is str:
|
||||
dst = tmp + "/" + mod_name + "_" + random_gen()
|
||||
cmd = "mv " + src + " " + dst
|
||||
os.system(cmd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user