From: Subrata <sub...@us...> - 2009-03-09 10:26:25
|
Update of /cvsroot/ltp/ltp/testcases/kernel/power_management In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25127/ltp/testcases/kernel/power_management Modified Files: Makefile runpwtests.sh Log Message: Patch to integrate sched domain testcase to LTP: Signed-off-by: poornima nayak <mp...@li...>. Index: runpwtests.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/power_management/runpwtests.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** runpwtests.sh 28 Feb 2009 18:23:04 -0000 1.4 --- runpwtests.sh 9 Mar 2009 10:26:20 -0000 1.5 *************** *** 74,77 **** --- 74,86 ---- tst_resm TPASS "cpu consolidation test for sched_mc_power set to 1" fi + # Validate CPU level sched domain topology validation + sched_domain.py || RC=$? + if [ $RC -eq 1 ] ; then + tst_resm TFAIL "sched domain topology validation test failed" + else + tst_resm TPASS "sched domain topology validation test passed" + fi + + fi else *************** *** 115,116 **** --- 124,126 ---- tst_resm TFAIL "CPUIDLE sysfs tests failed" fi + Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/power_management/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 28 Feb 2009 18:23:04 -0000 1.3 --- Makefile 9 Mar 2009 10:26:20 -0000 1.4 *************** *** 43,46 **** --- 43,47 ---- ln -f check_cpuidle_sysfs_files.sh ../../bin/check_cpuidle_sysfs_files.sh; ln -f cpu_consolidation.py ../../bin/cpu_consolidation.py + ln -f sched_domain.py ../../bin/sched_domain.py chmod ugo+x *.sh clean: |