Changes: duihome renamed to mthome and meegotouchhome as required

RevBy:TrustMe
pull/1/head
Nimika Keshri 15 years ago
parent 93d87e4e8d
commit b189475ad6

@ -1,5 +1,5 @@
#!/bin/sh
x=`sh /usr/share/applauncherd-testscripts/fala_wid`
xresponse -a 'duihome' -w 0 -id $x -c $1 -u > /tmp/app_xresponse.log&
xresponse -a 'meegotouchhome' -w 0 -id $x -c $1 -u > /tmp/app_xresponse.log&
echo $x

@ -1,3 +1,3 @@
#!/bin/sh
xresponse -a 'duihome' -w 0 -a 'fala_wol' -c $1 -u > /tmp/app_xresponse.log&
xresponse -a 'meegotouchhome' -w 0 -a 'fala_wol' -c $1 -u > /tmp/app_xresponse.log&

@ -30,7 +30,7 @@ Usage: test-perf-mbooster <launcherable application>
Example: test-perf-mbooster /usr/bin/testapp
Authors: Nimika Keshri ext-nimika.1.keshri@nokia.com
Authors: Nimika Keshri nimika.1.keshri@nokia.com
"""
import os
import subprocess
@ -90,10 +90,6 @@ class launcher_perf_tests (unittest.TestCase):
def run_without_launcher(self, appname):
"""starts the testapp without the launcher"""
os.system ('mcetool --set-tklock-mode=unlocked')
#remove this new mce tool command once the bug 195058 is released
os.system ("aegis-exec -a mce::TKLockControl dbus-send --system" +
" --print-reply --dest=com.nokia.mce /com/nokia/mce/request" +
" com.nokia.mce.request.req_tklock_mode_change string:unlocked")
if os.path.exists(LOG_FILE) and os.path.isfile(LOG_FILE):
os.system('rm %s' %LOG_FILE)
self.start_timer()
@ -110,10 +106,6 @@ class launcher_perf_tests (unittest.TestCase):
def run_without_launcher_without_duihome(self, appname):
"""starts the testapp without launcher and without duihome"""
os.system ('mcetool --set-tklock-mode=unlocked')
#remove this new mce tool command once the bug 195058 is released
os.system ("aegis-exec -a mce::TKLockControl dbus-send --system" +
" --print-reply --dest=com.nokia.mce /com/nokia/mce/request" +
" com.nokia.mce.request.req_tklock_mode_change string:unlocked")
if os.path.exists(LOG_FILE) and os.path.isfile(LOG_FILE):
os.system('rm %s' %LOG_FILE)
os.system('pkill -STOP duihome')
@ -134,10 +126,6 @@ class launcher_perf_tests (unittest.TestCase):
def run_with_launcher(self, appname):
"""starts the testapp with launcher and with duihome"""
os.system ('mcetool --set-tklock-mode=unlocked')
#remove this new mce tool command once the bug 195058 is released
os.system ("aegis-exec -a mce::TKLockControl dbus-send --system" +
" --print-reply --dest=com.nokia.mce /com/nokia/mce/request" +
" com.nokia.mce.request.req_tklock_mode_change string:unlocked")
if os.path.exists(LOG_FILE) and os.path.isfile(LOG_FILE):
os.system('rm %s' %LOG_FILE)
@ -153,10 +141,6 @@ class launcher_perf_tests (unittest.TestCase):
def run_with_wrt_launcher(self, appname):
"""starts the testapp with wrt-launcher and with duihome"""
os.system ('mcetool --set-tklock-mode=unlocked')
#remove this new mce tool command once the bug 195058 is released
os.system ("aegis-exec -a mce::TKLockControl dbus-send --system" +
" --print-reply --dest=com.nokia.mce /com/nokia/mce/request" +
" com.nokia.mce.request.req_tklock_mode_change string:unlocked")
if os.path.exists(LOG_FILE) and os.path.isfile(LOG_FILE):
os.system('rm %s' %LOG_FILE)
@ -172,10 +156,6 @@ class launcher_perf_tests (unittest.TestCase):
def run_with_launcher_without_duihome(self, appname):
"""starts the testapp with launcher but without duihome"""
os.system ('mcetool --set-tklock-mode=unlocked')
#remove this new mce tool command once the bug 195058 is released
os.system ("aegis-exec -a mce::TKLockControl dbus-send --system" +
" --print-reply --dest=com.nokia.mce /com/nokia/mce/request" +
" com.nokia.mce.request.req_tklock_mode_change string:unlocked")
if os.path.exists(LOG_FILE) and os.path.isfile(LOG_FILE):
os.system('rm %s' %LOG_FILE)
os.system('pkill -STOP duihome')

@ -45,7 +45,7 @@ class TC_PerformanceTests < Test::Unit::TestCase
# restart duihome so that qttasserver notices it
# NOTE: Remove the cludge after duihome -> meegotouchhome renaming is complete
if not system("/sbin/initctl restart xsession/duihome")
system("/sbin/initctl restart xsession/meegotouchhome")
system("/sbin/initctl restart xsession/mthome")
end
system("initctl stop xsession/sysuid")

Loading…
Cancel
Save