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
|