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

Split build by the right symbol

This commit is contained in:
Josef Skladanka 2015-01-30 14:53:23 +01:00
parent ec62bb2a44
commit 8f6c45e710

View File

@ -46,13 +46,10 @@ def get_relval_commands(passed_testcases):
cmd_ = relval_template cmd_ = relval_template
version, _, build, arch = key version, _, build, arch = key
# FIXME remove after debugging
build = "22 20150124"
if version == 'rawhide': if version == 'rawhide':
cmd_ += ' --release "%s" --date "%s"' % tuple(build.split()) #"22 20150110" cmd_ += ' --release "%s" --date "%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"
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]