diff options
author | Chase Qi <chase.qi@linaro.org> | 2015-02-09 12:47:22 +0800 |
---|---|---|
committer | Chase Qi <chase.qi@linaro.org> | 2015-02-09 12:47:22 +0800 |
commit | 1ce7018b0417b30929d3b60b713946d96adf1370 (patch) | |
tree | d7b40ba9120eb55cf58be7b31bd1f04f308b28a7 | |
parent | 4e6077497241859999fda11a6cb9ab902817e5e2 (diff) |
android: gtest debug
-rwxr-xr-x | android/scripts/gtest.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/android/scripts/gtest.sh b/android/scripts/gtest.sh index 029093f..c1cb8b8 100755 --- a/android/scripts/gtest.sh +++ b/android/scripts/gtest.sh @@ -30,7 +30,10 @@ FilesDIR="/data/data/org.linaro.gparser/files" wget http://testdata.validation.linaro.org/tools/gparser.apk chmod -R 777 $ScriptDIR pm install "$ScriptDIR/gparser.apk" -logcat |tail -n 30 +logcat > /data/logcat.txt 2>&1 & +sleep 180 +kill %1 +cat /data/logcat.txt |tail -n 50 mkdir $FilesDIR for i in $TESTS; do |