summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr/files
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-01-26 17:51:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-17 15:28:58 +0000
commit0f03282c6a70f0a33809c9c8ba4e64ea43e754c7 (patch)
tree63cfb4b56f9f335f2511b3776517245d864befb3 /meta/recipes-support/attr/files
parent29a7e791aa331d0ac6e8728ff44af2d8732183d3 (diff)
downloadpoky-0f03282c6a70f0a33809c9c8ba4e64ea43e754c7.tar.gz
attr: enable ptest support
Install attr test suite and run it as ptest. ext test cases need depend on specific filesystem. So exclude them order to make ptest all pass. (From OE-Core rev: 4395504e5f2af16e108a67962ab7cbcab26aa444) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr/files')
-rw-r--r--meta/recipes-support/attr/files/run-ptest5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/files/run-ptest b/meta/recipes-support/attr/files/run-ptest
new file mode 100644
index 0000000000..a6c6867f2d
--- /dev/null
+++ b/meta/recipes-support/attr/files/run-ptest
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3make -C test -k tests root-tests |sed \
4 -e 's|^\[.*\] \(.*\) -- ok$|PASS: \1|' \
5 -e 's|^\[.*\] \(.*\) -- failed|FAIL: \1|'