mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00

Add ":README" suffix support for the requires list, so that the testcase can list up the required string for README file to the requires list. Note that the required string is treated as a fixed string, instead of regular expression. Also, the testcase can specify a string containing spaces with quotes. E.g. # requires: "place: [<module>:]<symbol>":README Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Reviewed-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
833 B
833 B
#!/bin/sh
SPDX-License-Identifier: GPL-2.0
description: %HERE DESCRIBE WHAT THIS DOES%
requires: %HERE LIST THE REQUIRED FILES, TRACERS OR README-STRINGS%
The required tracer needs :tracer suffix, e.g. function:tracer
The required README string needs :README suffix, e.g. "x8/16/32/64":README
and the README string is treated as a fixed-string instead of regexp pattern.
you have to add ".tc" extention for your testcase file
Note that all tests are run with "errexit" option.
exit 0 # Return 0 if the test is passed, otherwise return !0