Home | History | Annotate | Download | only in samples
      1 AUTHOR = "Autotest Team <autotest (a] test.kernel.org>"
      2 TIME = "SHORT"
      3 NAME = "Sample - Parallel test execution"
      4 TEST_TYPE = "client"
      5 TEST_CLASS = "Kernel"
      6 TEST_CATEGORY = "Functional"
      7 
      8 DOC = """
      9 Runs 2 client tests in parallel, with different options.
     10 """
     11 
     12 def kernbench():
     13     job.run_test('kernbench', iterations=2, threads=5)
     14 
     15 
     16 def dbench():
     17     job.run_test('dbench')
     18 
     19 
     20 job.parallel([kernbench], [dbench])
     21