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 <[email protected]>

diff -uprN ltp-full-20090731_orig/testcases/kernel/power_management/Makefile 
ltp-full-20090731/testcases/kernel/power_management/Makefile
--- ltp-full-20090731_orig/testcases/kernel/power_management/Makefile   
2009-08-20 19:59:11.000000000 +0530
+++ ltp-full-20090731/testcases/kernel/power_management/Makefile        
2009-08-20 20:26:39.000000000 +0530
@@ -23,12 +23,16 @@ SUBDIRS := 
 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 @@ install:
        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 @@ install:
 clean:
        @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ; done
        rm -f check_kv_arch
-
+       rm -f get_sched_values

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to