libevent: update ptests fail condition
If exit status is 0 test is succesfull. (From OE-Core rev: 6b91338a0c09e117cfc58084b66ffcd149765316) Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8efd482911
commit
1650f67230
|
@ -4,7 +4,7 @@ fail=0
|
||||||
for test in ./test/*
|
for test in ./test/*
|
||||||
do
|
do
|
||||||
$test
|
$test
|
||||||
if [ $? -eq 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
fail=1
|
fail=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue