diff options
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-ptest | 7 |
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 | ||
2 | FILE=zlib-ptest-$$.log | ||
3 | make -k runteststatic runtestshared > $FILE | ||
4 | sed -i -r -e 's/^(\s+\*+ (.+?) test OK \*+)/\1\nPASS: \2/' $FILE | ||
5 | sed -i -r -e 's/^(\s+\*+ (.+?) test FAILED \*+)/\1\nFAIL: \2/' $FILE | ||
6 | cat $FILE | ||
7 | rm -f $FILE | ||