All your 3 patches were applied (notes on the corresponding pull requests).
Thanks Cleber! On Tue, Aug 7, 2012 at 11:49 PM, Cleber Rosa <[email protected]> wrote: > Besides the already present method of specifying the test (white) list. > > I've found that sometimes you want to just skip a couple of tests, so > the blacklist approach makes a little bit more sense. Also, if the > kvm unittest gets updated with new tests, the newly added tests will > run with the blacklist approach. > > Signed-off-by: Cleber Rosa <[email protected]> > --- > client/tests/kvm/tests/unittest.py | 12 ++++++++++-- > client/tests/kvm/unittests.cfg.sample | 4 +++- > 2 files changed, 13 insertions(+), 3 deletions(-) > > diff --git a/client/tests/kvm/tests/unittest.py > b/client/tests/kvm/tests/unittest.py > index cb8ee23..b7fa4ca 100644 > --- a/client/tests/kvm/tests/unittest.py > +++ b/client/tests/kvm/tests/unittest.py > @@ -36,11 +36,19 @@ def run_unittest(test, params, env): > unittest_cfg) > logging.debug('Unit test list: %s', test_list) > > - if params.get('test_list'): > - test_list = params.get('test_list').split() > + if params.get('unittest_test_list'): > + test_list = params.get('unittest_test_list').split() > logging.info('Original test list overriden by user') > logging.info('User defined unit test list: %s', test_list) > > + black_list = params.get('unittest_test_blacklist', '').split() > + if black_list: > + for b in black_list: > + if b in test_list: > + test_list.remove(b) > + logging.info('Tests blacklisted by user: %s', black_list) > + logging.info('Test list after blacklist: %s', test_list) > + > nfail = 0 > tests_failed = [] > > diff --git a/client/tests/kvm/unittests.cfg.sample > b/client/tests/kvm/unittests.cfg.sample > index 93b8646..23b1fcc 100644 > --- a/client/tests/kvm/unittests.cfg.sample > +++ b/client/tests/kvm/unittests.cfg.sample > @@ -76,6 +76,8 @@ variants: > extra_params += " -S" > # In case you want to execute only a subset of the tests defined on > the > # unittests.cfg file on qemu-kvm, uncomment and edit test_list > - #test_list = idt_test hypercall vmexit realmode > + #unittest_test_list = idt_test hypercall vmexit realmode > + # In case you want to excluse just some of the tests, use a blacklist > + #unittest_test_blacklist = access apic emulator > > only build unittest > -- > 1.7.11.2 > > _______________________________________________ > Autotest-kernel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/autotest-kernel -- Lucas _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
