Home | History | Annotate | Download | only in etc

Lines Matching full:echo

79 echo "--------------------------------------------------"
80 echo "DX Converter Test Suite"
81 echo "Version 1.0"
82 echo "Copyright (c) 2008 The Android Open Source Project"
83 echo ""
86 echo "Usage: dx-tests [--help|--portable] [<mnemonic>]"
87 echo ""
88 echo " --help prints this help message"
89 echo " --portable uses the portable interpreter;"
90 echo " default is the fast one"
91 echo ""
92 echo " <mnemonic> specifies the instruction to test;"
93 echo " default is to run all tests"
94 echo ""
117 echo "error:could not start dx tool"
122 echo "Simulator mode, $interpreter interpreter";
126 echo "Using Dalvik VM ${version}"
128 echo "No Dalvik VM found at $exe";
132 echo "Emulator mode, $interpreter interpreter";
136 echo "Using Dalvik VM ${version}"
138 echo "No emulator or device found";
143 echo ""
166 echo $pre_report > $report
184 echo $1 | sed -e 's#\.#/#g;s#$#.class#'
189 if [ ! -z $CTS_DX_DEBUG ]; then echo $@; fi
194 mainclass=`echo $myline | cut -d";" -f1` # e.g dxc.junit.verify.t482_9.Main_testVFE2
197 testclasses=`echo $myline | cut -d";" -f2` # e.g dxc.junit.verity.t482_9.jm.T_t482_9_1
203 jtitle=`echo $myline | cut -d";" -f3`
204 jcomment=`echo $myline | cut -d";" -f4`
205 details=`echo $myline | cut -d";" -f5`
236 ### echo -n ">>> launch dalvikvm for class: $mainclass"
240 echo -n "mk_b:" > $BASEDIR/dalvikout
241 #echo ">>> launch dex package -classpath $BASEDIR/dxcore.jar:$BASEDIR/dxclasses.jar $mainclass"
244 ### echo " on simulator";
248 echo "execute dalvikvm failed with resultcode: ${RESULTCODE}" >> $BASEDIR/dalvikout 2>&1
259 ### echo " on emulator/device with adb push"
262 adb shell "dalvikvm -Djava.io.tmpdir=/data/local/tmp -classpath /data/dxcore.jar:/data/dxclasses.jar $mainclass && echo -n dvmpassed:" >> $BASEDIR/dalvikout 2>&1
265 echo -n "mk_s:" >> $BASEDIR/dalvikout
268 ### echo "vmresult: $vmresult"
272 echo "<tr class=\"ok\"><td>Success</td><td>$jtitle</td><td>$jcomment</td><td>$details</td></tr>" >> $report
273 ### echo " -> PASSED (passed:$jpassedcnt, failed:$jfailedcnt, vfe failed:$jvfefailedcnt, warnings:$jwarningcnt)"
274 echo -n "."
277 echo "<tr class=\"wok\"><td>Warning</td><td>$jtitle</td><td>$jcomment</td><td>Special behavior regarding VerifyError</td></tr>" >> $report
278 ### echo " -> WARNING (passed:$jpassedcnt, failed:$jfailedcnt, vfe failed:$jvfefailedcnt, warnings:$jwarningcnt)"
279 echo -n "W"
284 jtype=`echo "$mainclass" | sed -e 's/.*_test\([^0-9]*\)[0-9].*/\1/' `
287 echo -n "<tr class=\"nok\"><td>Verifier failure</td><td>$jtitle</td><td>$jcomment</td><td>$vmres</td></tr>" >> $report
288 ### echo " -> VFE FAILED (passed:$jpassedcnt, failed:$jfailedcnt, vfe failed:$jvfefailedcnt, warnings:$jwarningcnt)"
289 echo -n "V"
292 echo -n "<tr class=\"nok\"><td>Functional failure</td><td>$jtitle</td><td>$jcomment</td><td>$vmres</td></tr>" >> $report
293 ### echo " -> FAILED (passed:$jpassedcnt, failed:$jfailedcnt, vfe failed:$jvfefailedcnt, warnings:$jwarningcnt)"
294 echo -n "F"
300 echo ""
308 echo "</table>" >> $report
311 echo "<br>error: green & red != total , $jallcalccnt -ne $jallcnt" >> $report
315 echo "<br>Tests run: ${jallcnt}" >> $report
316 echo "<br>Functional failures: ${jfailedcnt}" >> $report
317 echo "<br>Verifier failures: ${jvfefailedcnt}" >> $report
318 echo "<br>Warnings: ${jwarningcnt}" >> $report
320 echo $post_report >> $report
323 echo ""
326 echo ""
329 echo "OK (${jpassedcnt} tests)"
331 echo "FAILURES!!!"
332 echo ""
333 echo "Tests run : ${jallcnt}"
334 echo "Functional failures: ${jfailedcnt}"
335 echo "Verifier failures : ${jvfefailedcnt}"
336 echo "Warnings : ${jwarningcnt}"
339 echo ""
340 echo "Please see complete report in ${report}"
341 echo "--------------------------------------------------"