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