1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-11-16 05:13:07 +00:00

Fixed to use the current relval

This commit is contained in:
Josef Skladanka 2015-02-11 13:25:10 +01:00
parent c8e3496139
commit dcd164e74e
2 changed files with 16 additions and 5 deletions

View File

@ -55,7 +55,7 @@ TESTCASES = {
"type": "Installation", "type": "Installation",
}, },
"QA:Testcase_Anaconda_updates.img_via_URL": { "QA:Testcase_Anaconda_updates.img_via_URL": {
"section": "Miscellaneous ", "section": "Miscellaneous",
"env": "Result", "env": "Result",
"type": "Installation", "type": "Installation",
}, },
@ -161,6 +161,15 @@ TESTSUITES = {
"QA:Testcase_install_repository_HTTP/FTP_graphical", "QA:Testcase_install_repository_HTTP/FTP_graphical",
"QA:Testcase_Package_Sets_Minimal_Package_Install", "QA:Testcase_Package_Sets_Minimal_Package_Install",
], ],
"server_repository_http_variation":[
"QA:Testcase_Boot_default_install Server netinst",
"QA:Testcase_install_to_VirtIO",
"QA:Testcase_partitioning_guided_empty",
"QA:Testcase_Anaconda_User_Interface_Graphical",
"QA:Testcase_Anaconda_user_creation",
"QA:Testcase_install_repository_HTTP/FTP_variation",
"QA:Testcase_Package_Sets_Minimal_Package_Install",
],
"server_mirrorlist_http_variation":[ "server_mirrorlist_http_variation":[
"QA:Testcase_Boot_default_install Server netinst", "QA:Testcase_Boot_default_install Server netinst",
"QA:Testcase_install_to_VirtIO", "QA:Testcase_install_to_VirtIO",

View File

@ -41,16 +41,17 @@ def get_passed_testcases(job_ids):
def get_relval_commands(passed_testcases): def get_relval_commands(passed_testcases):
relval_template = "relval report-results --unmanned --result pass" relval_template = "relval report-auto"
commands = [] commands = []
for key in passed_testcases: for key in passed_testcases:
cmd_ = relval_template cmd_ = relval_template
version, _, build, arch = key version, _, build, arch = key
if version == 'rawhide': if version == 'rawhide':
cmd_ += ' --release "%s" --date "%s"' % tuple(build.split('_')) #"22_20150110" cmd_ += ' --release "%s" --build Rawhide --version "%s"' % tuple(build.split('_')) #"22_20150110"
elif version == 'branched': elif version == 'branched':
cmd_ += ' --release "%s" --milestone "%s" --compose "%s"' % tuple(build.split('_')) #"22_Alpha_TC1" #cmd_ += ' --release "%s" --milestone "%s" --compose "%s"' % tuple(build.split('_')) #"22_Alpha_TC1"
continue
for tc_name in passed_testcases[key]: for tc_name in passed_testcases[key]:
testcase = conf_test_suites.TESTCASES[tc_name] testcase = conf_test_suites.TESTCASES[tc_name]
@ -58,7 +59,8 @@ def get_relval_commands(passed_testcases):
tc_type = testcase['type'] tc_type = testcase['type']
tc_section = testcase['section'] tc_section = testcase['section']
commands.append('%s --env "%s" --testtype "%s" --section "%s" --testcase "%s"' % (cmd_, tc_env, tc_type, tc_section, tc_name)) commands.append('%s --environment "%s" --testtype "%s" --section "%s" --testcase "%s" pass' % (cmd_, tc_env, tc_type, tc_section, tc_name))
return commands return commands