From 848b2f76361a417cf0ac9fe1862329b79d466421 Mon Sep 17 00:00:00 2001 From: Nimika Keshri Date: Thu, 12 May 2011 11:36:07 +0300 Subject: [PATCH] Changes: Added command to run cpu in full speed to perf tests RevBy: Juha Lintula --- debian/changelog | 6 ++++++ tests/harmattan/testscripts/test-perf.rb | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d72266b..30ce5a8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +applauncherd (0.29.6) unstable; urgency=low + + * Changes: Added a command to run cpu in full speed to perf tests + + -- Nimika Keshri Thu, 12 May 2011 11:34:15 +0300 + applauncherd (0.29.5) stable; urgency=low * Fixes: NB#250971 - a booster is wasted with --single-instance diff --git a/tests/harmattan/testscripts/test-perf.rb b/tests/harmattan/testscripts/test-perf.rb index 1ba7814..f877ed2 100755 --- a/tests/harmattan/testscripts/test-perf.rb +++ b/tests/harmattan/testscripts/test-perf.rb @@ -53,7 +53,10 @@ class TC_PerformanceTests < Test::Unit::TestCase # method called before any test case def setup - optparse = OptionParser.new do|opts| + #running cpu in full speed + system "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" + + optparse = OptionParser.new do|opts| options = {} # Set a banner, displayed at the top # of the help screen.