forked from autotest/tp-qemu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontrol
29 lines (22 loc) · 795 Bytes
/
control
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AUTHOR = """
<[email protected]> Jiri Zupka
"""
TIME = 'MEDIUM'
NAME = 'openvswitch test'
TEST_TYPE = 'client'
TEST_CLASS = 'Networking'
TEST_CATEGORY = 'Functional'
DOC = """
Executes the openvswitch test on a given host. This module is separated in
minor functions, that execute different tests for doing Quality Assurance
on openvswitch code.
"""
import sys, os, logging
# set English environment (command output might be localized, need to be safe)
os.environ['LANG'] = 'en_US.UTF-8'
virt_test_dir = os.path.join(os.environ['AUTODIR'],'tests/virt')
sys.path.insert(0, virt_test_dir)
from virttest import utils_misc, cartesian_config
parser = cartesian_config.Parser()
parser.parse_file(os.path.join(virt_test_dir, "openvswitch", "cfg", "tests.cfg"))
utils_misc.run_tests(parser, job)