diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-11-18 08:44:53 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2015-11-18 10:58:59 +0100 |
commit | f40b6f3d51b5637f357d7eb08cde33b320528615 (patch) | |
tree | 0f2f2d767cd4e5c13c54fcd46b3aa8744f4cc356 /recipes-core/util-linux/util-linux/run-ptest | |
parent | d94fd9a92c28523914bf3fb196bea7f863a98782 (diff) | |
download | meta-el-common-f40b6f3d51b5637f357d7eb08cde33b320528615.tar.gz |
util-linux: add ptest
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-core/util-linux/util-linux/run-ptest')
-rw-r--r-- | recipes-core/util-linux/util-linux/run-ptest | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-core/util-linux/util-linux/run-ptest b/recipes-core/util-linux/util-linux/run-ptest new file mode 100644 index 0000000..b04f14a --- /dev/null +++ b/recipes-core/util-linux/util-linux/run-ptest | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | cd tests || exit 1 | ||
4 | sh ./run.sh 2>&1 | { | ||
5 | sed '{ | ||
6 | s/^\(.*\):\(.*\) \.\.\. OK$/PASS: \1:\2/ | ||
7 | s/^\(.*\):\(.*\) \.\.\. FAILED \(.*\)$/FAIL: \1:\2 \3/ | ||
8 | s/^\(.*\):\(.*\) \.\.\. IGNORE \(.*\)$/SKIP: \1:\2 \3/ | ||
9 | }' | ||
10 | } | ||