diff options
author | Tudor Florea <tudor.florea@enea.com> | 2013-07-19 17:10:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-24 11:35:34 +0100 |
commit | de52f892dbbd330db2c05a9da691ca679a260070 (patch) | |
tree | e9b6e458bc3ef48593a5b53f417a7b01b92d590c /meta/recipes-devtools/python/python/run-ptest | |
parent | 4f9c5a086a48ebdc2977ca57a6216d61d581f20a (diff) | |
download | poky-de52f892dbbd330db2c05a9da691ca679a260070.tar.gz |
python: Add ptest
Install python test suite and run it as ptest
(From OE-Core rev: a768047cb8fc00ecf13f4db08117c348a9312c47)
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python/run-ptest')
-rw-r--r-- | meta/recipes-devtools/python/python/run-ptest | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python/run-ptest b/meta/recipes-devtools/python/python/run-ptest new file mode 100644 index 0000000000..a2f9eed444 --- /dev/null +++ b/meta/recipes-devtools/python/python/run-ptest | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | #This script is used to run python test suites | ||
4 | |||
5 | make -f LIBDIR/python/ptest/Makefile -k runtest-TESTS srcdir=LIBDIR/python2.7 TESTPROG=LIBDIR/python2.7/test/regrtest.py | sed -e '/\.\.\. ok/ s/^/PASS: /g' -e '/\.\.\. [ERROR|FAIL]/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g' | ||