[PATCH 04/05]: Patch for for cpu_consolidation testcase modified w.r.t
new function calls and review comments by developers.

Signed-off-by: poornima nayak <[email protected]>

diff -uprN
ltp-full-20090228_orig/testcases/kernel/power_management/cpu_consolidation.py 
ltp-full-20090228/testcases/kernel/power_management/cpu_consolidation.py
---
ltp-full-20090228_orig/testcases/kernel/power_management/cpu_consolidation.py   
2009-03-04 16:29:41.000000000 -0600
+++
ltp-full-20090228/testcases/kernel/power_management/cpu_consolidation.py
2009-03-04 17:26:21.000000000 -0600
@@ -24,13 +24,12 @@ if __name__ == "__main__":
 
     try:
         set_sched_mc_power(options.mc_level)
-     print "INFO: sched mc power saving set to %s" %options.mc_level
+       print "INFO: sched mc power saving set to %s" %options.mc_level
         count_num_cpu()
         map_cpuid_pkgid()
         print "INFO: Created table mapping cpu to package"
         trigger_workld(options.workload)
         generate_report()
-        validate_cpu_consolidation()
-        sys.exit(0)
+        validate_cpu_consolidation(options.mc_level)
     except:
         sys.exit(1)


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to