Patch for PM makefile for new testcases & fix test_sched_smt integration issue: Patch to integrate test_sched_smt and timer_migration testcase to LTP. Also intergrates the new file get_sched_value to LTP. Signed-off-by: poornima nayak <mpnayak@linux.vnet.ibm.com>.
diff --git a/testcases/kernel/power_management/Makefile b/testcases/kernel/power_management/Makefile
index 913e659..e3a8596 100644
--- a/testcases/kernel/power_management/Makefile
+++ b/testcases/kernel/power_management/Makefile
@@ -23,12 +23,16 @@
all:
@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done;
$(MAKE) check_kv_arch ;
+ $(MAKE) get_sched_values ;
-check_kv_arch: check_kv_arch.c
+check_kv_arch: check_kv_arch.c
+ $(CC) -o $@ $< ../../../lib/tst_kvercmp.c -I../../../include
+get_sched_values: get_sched_values.c
$(CC) -o $@ $< ../../../lib/tst_kvercmp.c -I../../../include
install:
@set -e; ln -f check_kv_arch ../../bin/check_kv_arch; \
+ ln -f get_sched_values ../../bin/get_sched_values; \
ln -f change_freq.sh ../../bin/change_freq.sh; \
ln -f change_govr.sh ../../bin/change_govr.sh; \
ln -f check_cpufreq_sysfs_files.sh ../../bin/check_cpufreq_sysfs_files.sh; \
@@ -37,6 +41,8 @@
ln -f pm_include.sh ../../bin/pm_include.sh; \
ln -f runpwtests.sh ../../bin/runpwtests.sh; \
ln -f test_sched_mc.sh ../../bin/test_sched_mc.sh; \
+ ln -f test_sched_mc.sh ../../bin/test_sched_smt.sh; \
+ ln -f test_sched_mc.sh ../../bin/test_timer_migration.sh; \
ln -f config_cpu_freq ../../bin/config_cpu_freq; \
ln -f config_cpu_idle ../../bin/config_cpu_idle; \
ln -f config_sched_mc ../../bin/config_sched_mc;
@@ -47,4 +53,4 @@
clean:
@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ; done
rm -f check_kv_arch
-
+ rm -f get_sched_values