4 echo 'Usage: target-run addrlist applist'
11 BUILD_DIR=/var/www/webkit
15 ssh target $@ 2>> error
19 ssh target $@ 2> /dev/null
23 scp $1 target: 2> /dev/null
27 scp target:$1 . 2> /dev/null
33 upload `dirname $0`/prepare
34 upload `dirname $0`/run
35 upload `dirname $0`/wrt-run
38 last=`ls -v result | tail -n 1`
39 if [ -z $last ]; then last=0; fi
41 for build in `ls -v $BUILD_DIR`; do
42 if [ $build -gt $last ]; then
43 echo Testing build $build with $addrlist and $applist
45 rpm_host=$BUILD_DIR/$build/$PKG-[0-9]*.armv7l.rpm
47 rpm_target=`basename $rpm_host`
48 run rpm --upgrade --force $rpm_target
51 if [ ! $rpm_success -eq 0 ]; then
52 echo Build fails to install
55 run_with_error ./run $addrlist
56 run_with_error ./wrt-run $applist
57 download /tmp/webkit_memory
58 if [ ! -f webkit_memory ]; then
59 echo Build has no memory profiling
62 mv webkit_memory result/$build