Home | History | Annotate | Download | only in tests

Lines Matching full:awk

48 TESTABLES="samples build device awk"
106 --only-awk)
107 TESTABLES=awk
147 echo " --only-awk Only run awk tests."
302 ### RUN AWK TESTS
305 # Run a simple awk script
306 # $1: awk script to run
309 # $4+: optional additional command-line arguments for the awk command
321 echo "### COMMAND: awk -f \"$SCRIPT\" $@ < \"$INPUT\" > \"$OUTPUT\""
323 awk -f "$SCRIPT" $@ < "$INPUT" > "$OUTPUT"
324 fail_panic "Can't run awk script: $SCRIPT"
333 echo "Awk script: $SCRIPT_NAME: passed $INPUT_NAME"
341 echo "Awk script: $SCRIPT_NAME: $INPUT_NAME FAILED!!"
350 local SCRIPT="$ROOTDIR/build/awk/$SCRIPT_NAME.awk"
354 echo "Awk script: $SCRIPT_NAME: Missing script: $SCRIPT"
357 for INPUT in `ls "$PROGDIR"/awk/$SCRIPT_NAME/*.in`; do
360 echo "Awk script: $SCRIPT_NAME: Missing awk output file: $OUTPUT"
367 if is_testable awk; then
368 AWKDIR="$ROOTDIR/build/awk"
369 for DIR in `ls -d "$PROGDIR"/awk/*`; do
778 ADB_DEVICES=`$ADB_CMD devices | grep -v offline | awk 'NR>1 {gsub(/[ \t]+device$/,""); print;}' | sed '/^$/d' | sort | tr ' ' '.'`