mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Poll program is a helper to ftracetest, thus make it a
generic file and remove it from being run as a test.
Currently when executing tests using
$ make run_tests
CC poll
TAP version 13
1..2
# timeout set to 0
# selftests: ftrace: poll
# Error: Polling file is not specified
not ok 1 selftests: ftrace: poll # exit=255
Fix this by using TEST_GEN_FILES to build the 'poll' binary as a helper
rather than as a test.
Fixes: 80c3e28528 ("selftests/tracing: Add hist poll() support test")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ayush Jain <[email protected]>
Acked-by: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
12 lines
210 B
Makefile
12 lines
210 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
all:
|
|
|
|
TEST_PROGS_EXTENDED := ftracetest
|
|
TEST_PROGS := ftracetest-ktap
|
|
TEST_FILES := test.d settings
|
|
EXTRA_CLEAN := $(OUTPUT)/logs/*
|
|
|
|
TEST_GEN_FILES := poll
|
|
|
|
include ../lib.mk
|