• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = """
2mgoldish@redhat.com (Michael Goldish)
3nsprei@redhat.com (Naphtali Sprei)
4lmr@redhat.com (Lucas Meneghel Rodrigues)
5"""
6TIME = 'MEDIUM'
7NAME = 'KVM test'
8TEST_TYPE = 'client'
9TEST_CLASS = 'Virtualization'
10TEST_CATEGORY = 'Unittest'
11
12DOC = """
13Runs the unittests available for a given KVM build.
14"""
15
16import sys, os, logging
17from autotest_lib.client.common_lib import cartesian_config
18from autotest_lib.client.virt import virt_utils
19
20parser = cartesian_config.Parser()
21kvm_test_dir = os.path.join(os.environ['AUTODIR'],'tests/kvm')
22tests_cfg_path = os.path.join(kvm_test_dir, "unittests.cfg")
23parser.parse_file(tests_cfg_path)
24
25# Run the tests
26virt_utils.run_tests(parser, job)
27