summaryrefslogtreecommitdiff
path: root/vellamo3/get_result.sh
blob: 1518e7a6b987ce8cac03758c77679582484ea650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# Author: Botao Sun <botao.sun@linaro.org>

function get_result(){
    echo "Test result transfer in progress..."
    adb pull $1 $2
    if [ $? -ne 0 ]; then
        echo "Cached result transfer failed!"
        return 1
    else
        echo "Cached result transfer finished!"
        return 0
    fi
}

get_result "/data/data/com.quicinc.vellamo/files/chapterscores.json" "chapterscores.json"