aboutsummaryrefslogtreecommitdiff
path: root/client/samples/control.parallel
blob: 47a5ac9ca0fc4d4a3b8a7e4590e1f7e78bcdb8e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
AUTHOR = "Autotest Team <autotest@test.kernel.org>"
TIME = "SHORT"
NAME = "Sample - Parallel test execution"
TEST_TYPE = "client"
TEST_CLASS = "Kernel"
TEST_CATEGORY = "Functional"

DOC = """
Runs 2 client tests in parallel, with different options.
"""

def kernbench():
    job.run_test('kernbench', iterations=2, threads=5)


def dbench():
    job.run_test('dbench')


job.parallel([kernbench], [dbench])