From 667a4e25e912406ee5d4a18c747bb617c5eb23cf Mon Sep 17 00:00:00 2001 From: Nimika Keshri Date: Tue, 9 Aug 2011 11:16:41 +0300 Subject: [PATCH] Changes: Stopping applifed in performance tests RevBy: TrustMe --- debian/changelog | 6 ++++++ tests/harmattan/testscripts/test-perf.rb | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 28a5a32..88966c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +applauncherd (1.0.2) unstable; urgency=low + + * Stopping applifed in performance tests + + -- Nimika Keshri Tue, 09 Aug 2011 11:12:11 +0300 + applauncherd (1.0.1) stable; urgency=low * Changes: Modified unittest for Connection diff --git a/tests/harmattan/testscripts/test-perf.rb b/tests/harmattan/testscripts/test-perf.rb index 967e8aa..302d04b 100755 --- a/tests/harmattan/testscripts/test-perf.rb +++ b/tests/harmattan/testscripts/test-perf.rb @@ -152,6 +152,8 @@ class TC_PerformanceTests < Test::Unit::TestCase print_debug("restart mthome") system("initctl restart xsession/mthome") + print_debug("stop applifed") + system("initctl stop xsession/applifed") print_debug("move #{MATTI_LOCATION} to #{TEMPORARY_MATTI_LOCATION}") system "mv #{MATTI_LOCATION} #{TEMPORARY_MATTI_LOCATION}" @@ -185,8 +187,11 @@ class TC_PerformanceTests < Test::Unit::TestCase end if not system "pgrep applauncherd" system("initctl start xsession/applauncherd") - sleep(30) end + if not system "pgrep applifed" + system("initctl start xsession/applifed") + end + sleep(30) end