diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-01-26 17:51:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-17 15:27:55 +0000 |
commit | 4395504e5f2af16e108a67962ab7cbcab26aa444 (patch) | |
tree | fe4f7e3336ddac95e6f44e414c0957aa47132ff5 /meta/recipes-support/attr/files | |
parent | 9b42aacca362ea5c404e2fd3ac25a51790ba41a5 (diff) | |
download | openembedded-core-4395504e5f2af16e108a67962ab7cbcab26aa444.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.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/attr/files')
-rw-r--r-- | meta/recipes-support/attr/files/run-ptest | 5 |
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 @@ +#!/bin/sh + +make -C test -k tests root-tests |sed \ + -e 's|^\[.*\] \(.*\) -- ok$|PASS: \1|' \ + -e 's|^\[.*\] \(.*\) -- failed|FAIL: \1|' |