diff options
author | Catalin Enache <catalin.enache@windriver.com> | 2016-08-03 15:42:54 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:30 +0100 |
commit | 1650f672302671f1a98effa9535a6f95dedc957c (patch) | |
tree | 5b05874a867f42e633a5944499b909df101714d6 | |
parent | 8efd48291166cc88da2b29005785c857d8065ace (diff) | |
download | poky-1650f672302671f1a98effa9535a6f95dedc957c.tar.gz |
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>
-rw-r--r-- | meta/recipes-support/libevent/libevent/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/libevent/libevent/run-ptest b/meta/recipes-support/libevent/libevent/run-ptest index d521688e77..0241851c70 100644 --- a/meta/recipes-support/libevent/libevent/run-ptest +++ b/meta/recipes-support/libevent/libevent/run-ptest | |||
@@ -4,7 +4,7 @@ fail=0 | |||
4 | for test in ./test/* | 4 | for test in ./test/* |
5 | do | 5 | do |
6 | $test | 6 | $test |
7 | if [ $? -eq 0 ] | 7 | if [ $? -ne 0 ] |
8 | then | 8 | then |
9 | fail=1 | 9 | fail=1 |
10 | fi | 10 | fi |