blob: 1ed43870a893dacff8387bce5e8df85eab756947 [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
NAME = "kernel_ltp"
AUTHOR = "The Chromium OS Authors,"
DOC = """
Sample invocation of ltp supplying a cmd file that
limits the tests executed.
# A list of cmdfiles enabled to run.
cmd_file_list = ['syscalls']
# A single expression used in a grep to filter tests from alltests.
test_name_re = 'nanosleep01'
ltp_args = '-f "%s"' % ','.join(cmd_file_list)
if test_name_re:
ltp_args += ' -s "%s"' % test_name_re
job.run_test('kernel_LTP', args=ltp_args)