[dvsim] Update log messages
Minor update to log messages. At the end of the sim, the scratch path is
printed again at the end to make it easy to get to it, especially for
long running regressions. This may be removed again in future.
Signed-off-by: Srikrishna Iyer <sriyer@google.com>
diff --git a/util/dvsim/FpvCfg.py b/util/dvsim/FpvCfg.py
index 3db6157..2963c1d 100644
--- a/util/dvsim/FpvCfg.py
+++ b/util/dvsim/FpvCfg.py
@@ -9,7 +9,7 @@
from tabulate import tabulate
from OneShotCfg import OneShotCfg
-from utils import subst_wildcards
+from utils import VERBOSE, subst_wildcards
class FpvCfg(OneShotCfg):
@@ -128,6 +128,7 @@
results_str += "### " + self.timestamp_long + "\n"
if self.revision_string:
results_str += "### " + self.revision_string + "\n"
+ results_str += "### Branch: " + self.branch + "\n"
results_str += "\n"
colalign = ("center", ) * len(self.summary_header)
@@ -221,6 +222,7 @@
results_str += "### " + self.timestamp_long + "\n"
if self.revision_string:
results_str += "### " + self.revision_string + "\n"
+ results_str += "### Branch: " + self.branch + "\n"
results_str += "### FPV Tool: " + self.tool.upper() + "\n"
results_str += "### LogFile dir: " + self.scratch_path + "/default\n\n"
@@ -266,13 +268,12 @@
with open(results_file, 'w') as f:
f.write(self.results_md)
- log.info("[results page]: [%s] [%s]", self.name, results_file)
-
# Generate result summary
if not self.cov:
summary += ["N/A", "N/A", "N/A"]
self.result_summary[self.name] = summary
+ log.log(VERBOSE, "[results page]: [%s] [%s]", self.name, results_file)
return self.results_md
def _publish_results(self):