Lines Matching full:echo
80 echo "--------------------------------------------------"
81 echo "Dalvik VM Test Suite"
82 echo "Version 1.0"
83 echo "Copyright (c) 2008 The Android Open Source Project"
84 echo ""
87 echo "Usage: vm-tests [--help|--portable] [<mnemonic>]"
88 echo ""
89 echo " --help prints this help message"
90 echo " --portable uses the portable interpreter;"
91 echo " default is the fast one"
92 echo ""
93 echo " <mnemonic> specifies the instruction to test;"
94 echo " default is to run all tests"
95 echo ""
104 echo "Simulator mode, $interpreter interpreter";
108 echo "Using Dalvik VM ${version}"
110 echo "No Dalvik VM found at $exe";
114 echo "Emulator mode, $interpreter interpreter";
118 echo "Using Dalvik VM ${version}"
120 echo "No emulator or device found";
125 echo ""
142 echo $pre_report > $report
155 echo -n ""
162 echo $1 | sed -e 's#\.#/#g;s#$#.jar#'
175 mainclass=`echo $myline | cut -d";" -f1`
177 deps=`echo $myline | cut -d";" -f2`
179 jtitle=`echo $myline | cut -d";" -f3`
180 jcomment=`echo $myline | cut -d";" -f4`
181 details=`echo $myline | cut -d";" -f5`
190 echo -n "mk_b:" > $datadir/dalvikout
203 echo "Dalvik VM failed, result=${RESULTCODE}" >> $datadir/dalvikout 2>&1
220 echo -n dvmpassed: >> $datadir/dalvikout 2>&1
227 echo -n "mk_s:" >> $datadir/dalvikout
235 echo -n "<tr class=\"ok\"><td>Success</td><td>$jtitle</td>" >> $report
236 echo "<td>$jcomment</td><td>$details</td></tr>" >> $report
237 echo -n "."
242 stacktraces=`echo $vmresult | grep "java\.lang\." | grep -c "at dot\.junit\."`
244 jtype=`echo "$mainclass" | sed -e 's/.*_test\([^0-9]*\)[0-9].*/\1/' `
247 echo -n "V"
250 echo -n "F"
253 echo "<tr class=\"nok\"><td>Failure</td><td>$jtitle</td><td>" >> $report
254 echo "$jcomment</td><td>$vmres</td></tr>" >> $report
257 echo "<tr class=\"wok\"><td>Failure</td><td>$jtitle</td><td>" >> $report
258 echo "$jcomment</td><td>(No stacktrace, but errors on console)" >> $report
259 echo "<br>$vmres</td></tr>" >> $report
260 echo -n "C"
266 echo ""
275 echo "</table>" >> $report
278 echo "<br>error: green & red != total , $jallcalccnt -ne $jallcnt" >> $report
282 echo $post_report >> $report
284 echo "<br>Tests run: ${jallcnt}" >> $report
285 echo "<br>Functional failures: ${jfailedcnt}" >> $report
286 echo "<br>Verifier failures: ${jvfefailedcnt}" >> $report
287 echo "<br>Console errors: ${jwarningcnt}" >> $report
289 echo $post_report >> $report
292 echo ""
295 echo ""
298 echo "OK (${jpassedcnt} tests)"
300 echo "FAILURES!!!"
301 echo ""
302 echo "Tests run : ${jallcnt}"
303 echo "Functional failures: ${jfailedcnt}"
304 echo "Verifier failures : ${jvfefailedcnt}"
305 echo "Console errors : ${jwarningcnt}"
308 echo ""
309 echo "Please see complete report in ${report}"
310 echo "--------------------------------------------------"