[oe-commits] [openembedded-core] 11/23: valgrind: correct the comparison logic in vg_regtest

git at git.openembedded.org git at git.openembedded.org
Sun Mar 26 12:17:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit fa5f7b5090468da0ed1e30160e68362c97350c47
Author: Maxin B. John <maxin.john at intel.com>
AuthorDate: Fri Mar 24 17:03:20 2017 +0200

    valgrind: correct the comparison logic in vg_regtest
    
    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 <maxin.john at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 .../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($$) 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list