From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id 91F3B77BC7 for ; Fri, 24 Mar 2017 14:53:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490367184; x=1521903184; h=from:to:subject:date:message-id:in-reply-to:references; bh=2VlFH/AvBP104qJkYOATb12QWMfXJ59RKwb2FPigkqE=; b=Bkb7t1eRujIDtijBHEs6cdFnu7ueqat5OAgeqR8K8SPlHAeyYWwBBAIP vKWCoSCeqr+hYowoJYQPVfkARRUBuQ==; Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2017 07:53:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,215,1486454400"; d="scan'208";a="80249395" Received: from linux.intel.com ([10.54.29.200]) by fmsmga005.fm.intel.com with ESMTP; 24 Mar 2017 07:53:02 -0700 Received: from mbabyjoh-desk.fi.intel.com (mbabyjoh-desk.fi.intel.com [10.237.72.71]) by linux.intel.com (Postfix) with ESMTP id 49BC46A4080 for ; Fri, 24 Mar 2017 07:52:56 -0700 (PDT) From: "Maxin B. John" To: openembedded-core@lists.openembedded.org Date: Fri, 24 Mar 2017 16:52:45 +0200 Message-Id: <1490367165-27529-3-git-send-email-maxin.john@intel.com> X-Mailer: git-send-email 2.4.0 In-Reply-To: <1490367165-27529-1-git-send-email-maxin.john@intel.com> References: <1490367165-27529-1-git-send-email-maxin.john@intel.com> Subject: [PATCH 2/2] do_diffs: correct the comparison logic X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2017 14:53:02 -0000 do_diffs in the vg_regtest script compares the actual test output against the expected test output and returns 0 if it matches. Previous upgrade modified the return value of do_diffs() and that resulted in ptest failures. [YOCTO #8471] Signed-off-by: Maxin B. John --- .../0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch b/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch index f5ac989..7985308 100644 --- a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch +++ b/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch @@ -100,7 +100,7 @@ index a441f42..cb05b52 100755 unlink("$name.$mid.out"); unlink(<$name.$mid.diff*>); - return; -+ return 1; ++ return 0; } } } @@ -113,7 +113,7 @@ index a441f42..cb05b52 100755 print "Failure encountered, stopping to loop\n"; exit 1 } -+ return 0; ++ return 1; } sub do_one_test($$) -- 2.4.0