[qa-tools][PATCH 4/4] utils/wikimaker: Add default values


jose.perez.carranza@...
 

From: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>

Add default values for section of “performance” and “pTest” to avoid use
old data on new reports.

Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
---
testopia_update/utils/wikimaker.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/testopia_update/utils/wikimaker.py b/testopia_update/utils/wikimaker.py
index 96fdfc0..b3cce60 100644
--- a/testopia_update/utils/wikimaker.py
+++ b/testopia_update/utils/wikimaker.py
@@ -99,18 +99,18 @@ def wiki_perf_tests(file_name):
'.html GDC Charts]\n\nBelow chars are showing the latest' + \
'performance results taken from the current milestone.\n\n' + \
'== Performance Charts==\n\nFor Bitbake core-image-sato with' + \
- 'rm_work\n\n[[File:Ww19-2k17 - rmwork.png | 1280px | ' + \
+ 'rm_work\n\n[[File:Ww##-2k17 - rmwork.png | 1280px | ' + \
'link=https://wiki.yoctoproject.org/charts/perf_milestone_' + \
'GDC/bitbake-core-image-sato-rmwork.html ]]\n\nBuilding the ' + \
- 'Virtual kernel\n\n[[File:Ww19-2k17 - kernel.png | 1280px | ' + \
+ 'Virtual kernel\n\n[[File:WwXX-2k17 - kernel.png | 1280px | ' + \
'link=https://wiki.yoctoproject.org/charts/perf_milestone_' + \
'GDC/bitbake-virtual-kernel.html]]\n\nBuilding the rootfs\n' + \
- '\n[[File:Ww19-2k17_-_rootfs.png | 1280px | link=https://' + \
+ '\n[[File:WwXX-2k17_-_rootfs.png | 1280px | link=https://' + \
'wiki.yoctoproject.org/charts/perf_milestone_GDC/bitbake-' + \
'core-image-sato-rootfs.html]]\n\nBuilding core-image-sato' + \
- '\n\n[[File:Ww19-2k17_-_sato.png | 1280px | link=https://' + \
+ '\n\n[[File:WwXX-2k17_-_sato.png | 1280px | link=https://' + \
'wiki.yoctoproject.org/charts/perf_milestone_GDC/bitbake-' + \
- 'core-image-sato.html]]\n\neSDK Deploy time\n\n[[File:Ww19' + \
+ 'core-image-sato.html]]\n\neSDK Deploy time\n\n[[File:WwXX' + \
'-2k17_-_esdk.png | 1280px | link=https://wiki.yoctoproject' + \
'.org/charts/perf_milestone_GDC/bitbake-eSDK.html]]\n'

@@ -123,7 +123,7 @@ def wic_ptest_results(file_name):
'milestone,status,resolution,cf_regression_type,created\n' + \
' |noresultsmessage="None"\n |sort=status\n ' + \
'|group=product\n |id=0000\n}}\n\n== results ==\n\n' + \
- '{{:Ptest 381897c64069ea43d595380a3ae913bcc79cf7e1}}\n'
+ '{{:Ptest <ADD HERE THE PROOPER COMMIT>}}\n'

with open(file_name, 'a') as f:
f.write(perf_data)
--
2.11.0

Join yocto@lists.yoctoproject.org to automatically receive all group messages.