diff options
Diffstat (limited to 'meta/recipes-devtools/expect/expect/run-ptest')
-rwxr-xr-x | meta/recipes-devtools/expect/expect/run-ptest | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/expect/expect/run-ptest b/meta/recipes-devtools/expect/expect/run-ptest new file mode 100755 index 0000000000..856c314eaf --- /dev/null +++ b/meta/recipes-devtools/expect/expect/run-ptest | |||
@@ -0,0 +1,6 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | out_put=`tclsh tests/all.tcl -verbose bpse` | ||
4 | echo | ||
5 | echo "${out_put}" | awk '/PASSED|FAILED|SKIPPED/{gsub(/PASSED/,"PASS"); gsub(/FAILED/,"FAIL"); gsub(/SKIPPED/,"SKIP"); if ($NF=="PASS"){print $NF": "$(NF-1)}else{print $NF": "$2}}' | uniq | ||
6 | |||