On Tue, 2010-03-30 at 14:30 +0200, Josef Skladanka wrote:
Hello,
Thanks for such quick answer.
So, if i understand you correctly, if i have a control file containing this:
TIME="SHORT"
AUTHOR = "Will Woods <wwoods(a)redhat.com>"
DOC = """
This test runs rpmlint to catch common packaging problems which may have
crept
into the package since the last build.
"""
NAME = 'rpmlint'
TEST_TYPE = 'CLIENT' # SERVER can be used for tests that need multiple
machines
TEST_CLASS = 'General'
TEST_CATEGORY = 'Functional'
# post-koji-build tests can expect the following variables from autoqa:
# envr: package NVR (required, epoch can be skipped)
# name: package name
# kojitag: koji tag applied to this package
job.run_test('rpmlint', name=name, envr=envr, kojitag=kojitag,
config=autoqa_conf)
I could pass the job.tag as another argument to the job.run_test, like
job.run_test('rpmlint', name=name, envr=envr, kojitag=kojitag,
config=autoqa_conf, job_tag = job.tag)
Is that right?
Joza
Yes, you can do that!