summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/expect/expect/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/expect/expect/run-ptest')
-rwxr-xr-xmeta/recipes-devtools/expect/expect/run-ptest6
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
3out_put=`tclsh tests/all.tcl -verbose bpse`
4echo
5echo "${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