diff options
Diffstat (limited to 'tools/perf/tests/is_printable_array.c')
| -rw-r--r-- | tools/perf/tests/is_printable_array.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/tests/is_printable_array.c b/tools/perf/tests/is_printable_array.c index a5192f6a20d7..f72de2457ff1 100644 --- a/tools/perf/tests/is_printable_array.c +++ b/tools/perf/tests/is_printable_array.c @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/compiler.h> #include <linux/kernel.h> #include "tests.h" #include "debug.h" #include "print_binary.h" -int test__is_printable_array(int subtest __maybe_unused) +static int test__is_printable_array(struct test_suite *test __maybe_unused, int subtest __maybe_unused) { char buf1[] = { 'k', 'r', 4, 'v', 'a', 0 }; char buf2[] = { 'k', 'r', 'a', 'v', 4, 0 }; @@ -35,3 +36,5 @@ int test__is_printable_array(int subtest __maybe_unused) return TEST_OK; } + +DEFINE_SUITE("is_printable_array", is_printable_array); |
