summaryrefslogtreecommitdiff
path: root/meta/recipes-core/eglibc/eglibc-testing.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-12-16 14:33:38 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-19 09:28:18 +0000
commitdc1fbfb2cd3c0d35f212523189ea7b1621906201 (patch)
tree3b5e515a2738b3ea5e27dac87d31a34ba8c48db3 /meta/recipes-core/eglibc/eglibc-testing.inc
parent28b772e42a20faebe1b4f415d28b42b7e0a424fb (diff)
downloadopenembedded-core-dc1fbfb2cd3c0d35f212523189ea7b1621906201.tar.gz
openembedded-core-dc1fbfb2cd3c0d35f212523189ea7b1621906201.tar.bz2
openembedded-core-dc1fbfb2cd3c0d35f212523189ea7b1621906201.tar.xz
openembedded-core-dc1fbfb2cd3c0d35f212523189ea7b1621906201.zip
eglibc: Fixes for running regression tests
Override cxx-sysincludes along with CC and CXX since it contains path pointing to tcbootstrap sysroot which does not have c++ headers and libraries Drop shorten-build-commands patch since it did not override the include flags for c++ headers when tests written in c++ are executed the @includes file does not get updated to add c++ header paths This patch only reduced the build output anyway Add a patch to point eglibc to look into c++ headers the way OE installs them its not standard install e.g. usr/include/c++/GCC_VER but instead usr/include/c++. This lets g++ find the headers in right place when compiling c++ testcases Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-testing.inc')
-rw-r--r--meta/recipes-core/eglibc/eglibc-testing.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-testing.inc b/meta/recipes-core/eglibc/eglibc-testing.inc
index 2cd7c6ab1..c30409fb9 100644
--- a/meta/recipes-core/eglibc/eglibc-testing.inc
+++ b/meta/recipes-core/eglibc/eglibc-testing.inc
@@ -66,10 +66,8 @@ fi
echo "# we test using cross compiler from real sysroot therefore override the" > ${B}/configparms
echo "# definitions that come from ${B}/config.make" >> ${B}/configparms
- echo "CC = ${CC}" >> ${B}/configparms
- echo "CXX = ${CXX}" >> ${B}/configparms
+ fgrep tcbootstrap ${B}/config.make > ${B}/configparms
sed -i -e "s/\-tcbootstrap//g" ${B}/configparms
-
wrapper="${S}/scripts/cross-test-ssh.sh \$target"
localedef="${STAGING_BINDIR_NATIVE}/cross-localedef --little-endian --uint32-align=4"
make tests-clean