summaryrefslogtreecommitdiffstats
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:29:18 +0000
commit45987c5135d22757ed2eb06b37e192d73309f59f (patch)
tree9b4ca0be013dbc1bbf8dbdc19c53f0c2104390e9 /meta/recipes-core/eglibc/eglibc-testing.inc
parentaf9c75c8f5249728877770e3040cbc46c0038f30 (diff)
downloadpoky-45987c5135d22757ed2eb06b37e192d73309f59f.tar.gz
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 (From OE-Core rev: dc1fbfb2cd3c0d35f212523189ea7b1621906201) 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 2cd7c6ab14..c30409fb94 100644
--- a/meta/recipes-core/eglibc/eglibc-testing.inc
+++ b/meta/recipes-core/eglibc/eglibc-testing.inc
@@ -66,10 +66,8 @@ fi
66 echo "# we test using cross compiler from real sysroot therefore override the" > ${B}/configparms 66 echo "# we test using cross compiler from real sysroot therefore override the" > ${B}/configparms
67 echo "# definitions that come from ${B}/config.make" >> ${B}/configparms 67 echo "# definitions that come from ${B}/config.make" >> ${B}/configparms
68 68
69 echo "CC = ${CC}" >> ${B}/configparms 69 fgrep tcbootstrap ${B}/config.make > ${B}/configparms
70 echo "CXX = ${CXX}" >> ${B}/configparms
71 sed -i -e "s/\-tcbootstrap//g" ${B}/configparms 70 sed -i -e "s/\-tcbootstrap//g" ${B}/configparms
72
73wrapper="${S}/scripts/cross-test-ssh.sh \$target" 71wrapper="${S}/scripts/cross-test-ssh.sh \$target"
74localedef="${STAGING_BINDIR_NATIVE}/cross-localedef --little-endian --uint32-align=4" 72localedef="${STAGING_BINDIR_NATIVE}/cross-localedef --little-endian --uint32-align=4"
75make tests-clean 73make tests-clean