~bzoltan/ubuntu-ui-toolkit/new_list_item_01

« back to all changes in this revision

Viewing changes to tests/uitk_test_plan.sh

  • Committer: Zoltán Balogh
  • Date: 2014-09-11 19:04:38 UTC
  • Revision ID: zoltan@bakter.hu-20140911190438-9pv26vpqp66p7aho
Force yes to instal UITK packages in the test script

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
        echo -e "Original UITK version:\t\e[31m${UITK_VERSION}\e[0m"
121
121
        echo "Updating APT";adb shell "echo 0000 |sudo -S apt-get update  2>&1|grep -v password"
122
122
        echo "Install the UITK packages"
123
 
        adb -s ${SERIALNUMBER} shell "echo 0000|sudo -S apt-get install -y qtdeclarative5-ubuntu-ui-toolkit-plugin \
124
 
                                                                            ubuntu-ui-toolkit-autopilot \
125
 
                                                                            ubuntu-ui-toolkit-theme 2>&1 |grep -v password > /dev/null"
 
123
        adb -s ${SERIALNUMBER} shell "echo 0000|sudo -S apt-get install --yes --force-yes qtdeclarative5-ubuntu-ui-toolkit-plugin \
 
124
                                                                                          ubuntu-ui-toolkit-autopilot \
 
125
                                                                                          ubuntu-ui-toolkit-theme 2>&1 |grep -v password > /dev/null"
126
126
        UITK_VERSION=`adb -s ${SERIALNUMBER} shell "stty cols 250; dpkg -l"|grep qtdeclarative5-ubuntu-ui-toolkit-plugin|awk '{print $3}'`
127
127
        echo -e "New UITK version:\t\e[31m${UITK_VERSION}\e[0m"
128
128
        # update
129
129
        adb -s ${SERIALNUMBER} shell "echo 0000 |sudo -S apt-get update 2>&1|grep -v password > /dev/null"
130
130
        # install the autopilot tests 
131
 
        adb -s ${SERIALNUMBER} shell "echo 0000 |sudo -S apt-get install -y     address-book-service-dummy \
132
 
                                                                                python3-lxml \
133
 
                                                                                ubuntu-ui-toolkit-autopilot \
 
131
        adb -s ${SERIALNUMBER} shell "echo 0000 |sudo -S apt-get install --yes --force-yes address-book-service-dummy \
 
132
                                                                                            python3-lxml \
 
133
         i                                                                              ubuntu-ui-toolkit-autopilot \
134
134
                                                                                gallery-app-autopilot \
135
135
                                                                                reminders-app-autopilot \
136
136
                                                                                address-book-app-autopilot \