Ubuntu Pastebin

Paste from Albert Astals Cid at Thu, 13 Aug 2015 14:00:20 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# before on PC
# phablet-config autopilot --dbus-probe enable

# run on different terminal on device
# sudo powerd-cli display on

stop unity8 &> /dev/null
tests=`autopilot3 list unity8`
for test in $tests; do
        if [[ $test == unity8* ]]; then
                echo $test
                timeout 120 autopilot3 run $test &> /dev/null
                if [ $? -ne 0 ]; then
                        echo "Failed";
                        stop unity8 &> /dev/null
                        echo "Stopped unity8";
                fi
        fi
done
Download as text