• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5NAME = "kernel_ltp"
6AUTHOR = "The Chromium OS Authors,chromeos-kernel-test@google.com"
7TIME = "MEDIUM"
8TEST_CATEGORY = "FUNCTIONAL"
9TEST_CLASS = "KERNEL"
10TEST_TYPE = "CLIENT"
11DOC = """
12Sample invocation of ltp supplying a cmd file that
13limits the tests executed.
14"""
15
16# A list of cmdfiles enabled to run.
17cmd_file_list = ['syscalls']
18
19# A single expression used in a grep to filter tests from alltests.
20test_name_re = 'nanosleep01'
21
22ltp_args = '-f "%s"' % ','.join(cmd_file_list)
23if test_name_re:
24  ltp_args += ' -s "%s"' % test_name_re
25
26job.run_test('kernel_LTP', args=ltp_args)
27