Skip to content

Commit ab4b004

Browse files
AYUSHJAIN951shuahkh
authored andcommitted
selftests/ftrace: Convert poll to a gen_file
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: 80c3e28 ("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]>
1 parent 9d4b78d commit ab4b004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/ftrace/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ TEST_PROGS := ftracetest-ktap
66
TEST_FILES := test.d settings
77
EXTRA_CLEAN := $(OUTPUT)/logs/*
88

9-
TEST_GEN_PROGS = poll
9+
TEST_GEN_FILES := poll
1010

1111
include ../lib.mk

0 commit comments

Comments
 (0)