diff mbox series

[02/31] make: Remove WITH_POWER_MANAGEMENT_TESTSUITE

Message ID 20240411143025.352507-3-pvorel@suse.cz
State New
Headers show
Series Remove UCLINUX (nommu support) from LTP legacy C API | expand

Commit Message

Petr Vorel April 11, 2024, 2:29 p.m. UTC
It was introduced only for UCLINUX.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 include/mk/features.mk.in | 7 -------
 runtest/Makefile          | 4 ----
 testcases/kernel/Makefile | 5 +----
 3 files changed, 1 insertion(+), 15 deletions(-)
diff mbox series

Patch

diff --git a/include/mk/features.mk.in b/include/mk/features.mk.in
index 802ee0ba8..c2b64b549 100644
--- a/include/mk/features.mk.in
+++ b/include/mk/features.mk.in
@@ -36,13 +36,6 @@  WITH_METADATA_PDF		:= @WITH_METADATA_PDF@
 
 # Test suite knobs
 
-# Enable testcases/kernel/power_management's compile and install?
-ifeq ($(UCLINUX),1)
-WITH_POWER_MANAGEMENT_TESTSUITE	:= no
-else
-WITH_POWER_MANAGEMENT_TESTSUITE	:= yes
-endif
-
 # Enable testcases/open_posix_testsuite's compile and install?
 WITH_OPEN_POSIX_TESTSUITE	:= @WITH_OPEN_POSIX_TESTSUITE@
 
diff --git a/runtest/Makefile b/runtest/Makefile
index 6a1565b6a..0f95e69fa 100644
--- a/runtest/Makefile
+++ b/runtest/Makefile
@@ -32,10 +32,6 @@  UNWANTED_FILES		:= Makefile CVS STAX
 
 INSTALL_MODE		:= 00644
 
-ifneq ($(WITH_POWER_MANAGEMENT_TESTSUITE),yes)
-UNWANTED_FILES		+= power_management_tests
-endif
-
 INSTALL_TARGETS		:= $(filter-out $(UNWANTED_FILES),$(notdir $(patsubst $(abs_srcdir)/%,%,$(sort $(wildcard $(abs_srcdir)/*)))))
 
 MAKE_TARGETS		:=
diff --git a/testcases/kernel/Makefile b/testcases/kernel/Makefile
index bf890e175..3ca0e74bd 100644
--- a/testcases/kernel/Makefile
+++ b/testcases/kernel/Makefile
@@ -32,6 +32,7 @@  SUBDIRS			+= connectors \
 			   logging \
 			   mem \
 			   numa \
+			   power_management \
 			   pty \
 			   sched \
 			   security \
@@ -40,10 +41,6 @@  SUBDIRS			+= connectors \
 			   uevents \
 			   watchqueue \
 
-ifeq ($(WITH_POWER_MANAGEMENT_TESTSUITE),yes)
-SUBDIRS			+= power_management
-endif
-
 ifeq ($(WITH_KVM_TESTSUITE),yes)
 SUBDIRS			+= kvm
 endif