summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>2020-10-30 16:17:31 +0000
committerRui Miguel Silva <rui.silva@arm.com>2020-11-09 17:58:41 +0000
commitcc4d6bdb80c38d41ed31fca3fc867cd66ef2b9ae (patch)
treec09810a41e65829e7deb2e6ef1c80dd6e8acda99
parentefd71bfc1d464c65b9525549c026ffa88397e61e (diff)
corstone: adding FVP logs
Centralizing the common FVP logs in fvp_wrapper.py Change-Id: If3a1f426b8443f402535d8859e343aaf9a2bf05d Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
-rw-r--r--iot/scripts/test/fvp_wrapper.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/iot/scripts/test/fvp_wrapper.py b/iot/scripts/test/fvp_wrapper.py
index d65eb4b..92af079 100644
--- a/iot/scripts/test/fvp_wrapper.py
+++ b/iot/scripts/test/fvp_wrapper.py
@@ -300,12 +300,21 @@ class FVPWrapper(object):
for watcher in self.watchers:
self.fvp_params.update(watcher.getParameters())
+ print("FVP parameters:")
+ print(self.fvp_params)
+
+ print("FVP data:")
+ print(self.fvp_data)
+
g_fvp_cmd[0] = self.fvp_path
for param,param_val in self.fvp_params.items() :
g_fvp_cmd.append("-C")
g_fvp_cmd.append(param+"="+param_val)
+ print("FVP commandline:")
+ print(g_fvp_cmd)
+
Popen(g_fvp_cmd) #running the FVP with pyIRIS server enabled
fvp_ready = wait_iris_server(fvp_process=self.fvp_name.lower().replace("-",""),