From c0ecfcb7fa1024ebce27afcb1cb2911e62fafcc1 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Thu, 9 Dec 2010 18:14:31 +0200 Subject: [PATCH] =?UTF-8?q?Changes:=20performance=20test=20uses=20pixelcha?= =?UTF-8?q?nged=20with=20two=20tracked=20pixels=20RevBy:=20Olli=20Lepp?= =?UTF-8?q?=C3=A4nen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/Harmattan/TestScripts/test-perf.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/Harmattan/TestScripts/test-perf.rb b/tests/Harmattan/TestScripts/test-perf.rb index 96ac10f..4ca5523 100755 --- a/tests/Harmattan/TestScripts/test-perf.rb +++ b/tests/Harmattan/TestScripts/test-perf.rb @@ -162,7 +162,7 @@ class TC_PerformanceTests < Test::Unit::TestCase # Check the avarage system load is under 0.3 system "/usr/bin/waitloadavg.rb -l 0.3 -p 1.0 -t 100 -d" - start_command ="`#{PIXELCHANGED_BINARY} -t 2x200 -q >> #{PIXELCHANGED_LOG} &`; #{FALA_GETTIME_BINARY} \"Started from command line\" >> #{PIXELCHANGED_LOG}; #{@options[:command]} &" + start_command ="`#{PIXELCHANGED_BINARY} -t 20x20 -t 840x466 -q >> #{PIXELCHANGED_LOG} &`; #{FALA_GETTIME_BINARY} \"Started from command line\" >> #{PIXELCHANGED_LOG}; #{@options[:command]} &" puts "start command: #{start_command}" system "#{start_command}" sleep (4) @@ -175,15 +175,16 @@ class TC_PerformanceTests < Test::Unit::TestCase puts "pre_step: #{@options[:pre_step]}" system "#{@options[:pre_step]}" end - + system "/usr/bin/waitloadavg.rb -l 0.3 -p 1.0 -t 30 -d" @pos = `#{GET_COORDINATES_SCRIPT} -a #{@options[:application]}` puts "original: #{@pos}" @pos = @pos.split("\n")[-1] - system "/usr/bin/waitloadavg.rb -l 0.3 -p 1.0 -t 50 -d" - puts "#{PIXELCHANGED_BINARY} -c #{@pos} -t 2x200 -f #{PIXELCHANGED_LOG} -q" - system "#{PIXELCHANGED_BINARY} -c #{@pos} -t 2x200 -f #{PIXELCHANGED_LOG} -q" + system "/usr/bin/waitloadavg.rb -l 0.3 -p 1.0 -t 50 -d" + cmd = "#{PIXELCHANGED_BINARY} -c #{@pos} -t 20x20 -t 840x466 -f #{PIXELCHANGED_LOG} -q" + puts cmd + system cmd sleep (4) # Raise meegotouchhome to the top. #Workaround for keeping the window stack in shape.