Chong Lu dffa543035 insserv: enable ptest support
Install insserv test suite and run it as ptest.

(From OE-Core rev: 5bb786241907bb0304edb25ac1d398b3ae7f3be0)

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>
2014-02-21 16:09:08 +00:00

18 lines
258 B
Bash

#!/bin/sh
basedir=$(dirname $0)
. $basedir/common
output() {
if [ $? -eq 0 ]; \
then echo "PASS: $i"; \
else echo "FAIL: $i"; \
fi;
}
for i in test_simple_sequence test_undetected_loop; \
do $i &>/dev/null ; output; \
done
rm -rf ${tmpdir}