]> code.ossystems Code Review - openembedded-core.git/commit
valgrind: build ptests without optimizations
authorDave Lerner <dave.lerner@windriver.com>
Mon, 17 Aug 2015 19:55:56 +0000 (14:55 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Aug 2015 16:57:52 +0000 (17:57 +0100)
commit98c4a3ffb8dca10739be600e8d6df7fb6aa4958f
treef57518e939ac3c0d1ae7f1ea2f9acb0f5ad917f0
parenta98f4aedb241aa4352e644b5ef7c275f467c0c48
valgrind: build ptests without optimizations

This commit changes the both CFLAGS and CXXFLAGS when building the
valgrind ptest binaries by appending -O0, forcing no optimizations
instead of the default -O2.  For qemux86-64, this change results in
FAIL/PASS ratio improvements from 149/394 to 58/485.

It is evident that the expected result files were generated from
regression tests binaries built without optimizations.

[ YOCTO #8063 ]

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/valgrind/valgrind_3.10.1.bb