summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/zlib/zlib-1.2.8/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/zlib/zlib-1.2.8/run-ptest')
-rw-r--r--meta/recipes-core/zlib/zlib-1.2.8/run-ptest7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/zlib/zlib-1.2.8/run-ptest b/meta/recipes-core/zlib/zlib-1.2.8/run-ptest
new file mode 100644
index 0000000000..19d9632501
--- /dev/null
+++ b/meta/recipes-core/zlib/zlib-1.2.8/run-ptest
@@ -0,0 +1,7 @@
1#!/bin/sh
2FILE=zlib-ptest-$$.log
3make -k runteststatic runtestshared > $FILE
4sed -i -r -e 's/^(\s+\*+ (.+?) test OK \*+)/\1\nPASS: \2/' $FILE
5sed -i -r -e 's/^(\s+\*+ (.+?) test FAILED \*+)/\1\nFAIL: \2/' $FILE
6cat $FILE
7rm -f $FILE