Home | History | Annotate | Download | only in kernel_LTP
      1 # Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 NAME = "kernel_ltp"
      6 AUTHOR = "The Chromium OS Authors,chromeos-kernel-test (a] google.com"
      7 TIME = "MEDIUM"
      8 TEST_CATEGORY = "FUNCTIONAL"
      9 TEST_CLASS = "KERNEL"
     10 TEST_TYPE = "CLIENT"
     11 DOC = """
     12 Sample invocation of ltp supplying a cmd file that
     13 limits the tests executed.
     14 """
     15 
     16 # A list of cmdfiles enabled to run.
     17 cmd_file_list = ['syscalls']
     18 
     19 # A single expression used in a grep to filter tests from alltests.
     20 test_name_re = 'nanosleep01'
     21 
     22 ltp_args = '-f "%s"' % ','.join(cmd_file_list)
     23 if test_name_re:
     24   ltp_args += ' -s "%s"' % test_name_re
     25 
     26 job.run_test('kernel_LTP', args=ltp_args)
     27