[OE-core] [PATCH] libevent: update ptests fail condition

Catalin Enache catalin.enache at windriver.com
Wed Aug 3 12:42:54 UTC 2016


If exit status is 0 test is succesfull.

Signed-off-by: Catalin Enache <catalin.enache at windriver.com>
---
 meta/recipes-support/libevent/libevent/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libevent/libevent/run-ptest b/meta/recipes-support/libevent/libevent/run-ptest
index d521688..0241851 100644
--- a/meta/recipes-support/libevent/libevent/run-ptest
+++ b/meta/recipes-support/libevent/libevent/run-ptest
@@ -4,7 +4,7 @@ fail=0
 for test in ./test/*
 do
 	$test
-	if [ $? -eq 0 ]
+	if [ $? -ne 0 ]
 	then
 		fail=1
 	fi
-- 
2.7.4




More information about the Openembedded-core mailing list