selftests/user_events: Reenable build
authorMark Brown <broonie@kernel.org>
Sun, 6 Aug 2023 11:29:59 +0000 (12:29 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 16 Aug 2023 16:29:57 +0000 (10:29 -0600)
The user_events selftests were removed from the standard set of
selftests due to the uapi header it relies on having been temporarily
removed.  That header is now reinstated so we can reenable the tests.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/Makefile
tools/testing/selftests/user_events/Makefile

index 666b56f22a4177dd0956860a9236eec43f52750c..4e221bb620b4ae9ee8d9856dffc605ddc112e718 100644 (file)
@@ -89,6 +89,7 @@ TARGETS += tmpfs
 TARGETS += tpm2
 TARGETS += tty
 TARGETS += user
+TARGETS += user_events
 TARGETS += vDSO
 TARGETS += mm
 TARGETS += x86
index 9e95bd41b0b42ec4a7546b24e5f344bcce9301b3..10fcd0066203b46cd3de824f5697a6c6fd977cd5 100644 (file)
@@ -2,14 +2,6 @@
 CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES)
 LDLIBS += -lrt -lpthread -lm
 
-# Note:
-# This test depends on <linux/user_events.h> exported in uapi
-# The following commit removed user_events.h out of uapi:
-# commit 5cfff569cab8bf544bab62c911c5d6efd5af5e05
-# tracing: Move user_events.h temporarily out of include/uapi
-# This test will not compile until user_events.h is added
-# back to uapi.
-
 TEST_GEN_PROGS = ftrace_test dyn_test perf_test abi_test
 
 TEST_FILES := settings