code_size_compare: use '.md' suffix if '--markdown' enabled
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
dcf360dd72
commit
b167320e27
1 changed files with 3 additions and 2 deletions
|
@ -815,10 +815,11 @@ class CodeSizeComparison:
|
||||||
else:
|
else:
|
||||||
output_file = os.path.join(
|
output_file = os.path.join(
|
||||||
self.comp_dir,
|
self.comp_dir,
|
||||||
'{}-{}-{}.csv'
|
'{}-{}-{}.{}'
|
||||||
.format(self.old_size_dist_info.get_info_indication(),
|
.format(self.old_size_dist_info.get_info_indication(),
|
||||||
self.new_size_dist_info.get_info_indication(),
|
self.new_size_dist_info.get_info_indication(),
|
||||||
self.size_common_info.get_info_indication()))
|
self.size_common_info.get_info_indication(),
|
||||||
|
'md' if self.result_options.with_markdown else 'csv'))
|
||||||
output = open(output_file, "w")
|
output = open(output_file, "w")
|
||||||
|
|
||||||
self.logger.debug("Generating comparison results between {} and {}."
|
self.logger.debug("Generating comparison results between {} and {}."
|
||||||
|
|
Loading…
Reference in a new issue