1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 20:55:19 +03:00

testing/libc++: fix libc++abi tests

This commit is contained in:
Shiz 2017-05-18 03:18:47 +02:00
parent fc348670e4
commit 3044ea9937

View file

@ -26,7 +26,7 @@ builddir="$srcdir"
_cxxdir="$srcdir/libcxx-$pkgver.src" _cxxdir="$srcdir/libcxx-$pkgver.src"
_abidir="$srcdir/libcxxabi-$pkgver.src" _abidir="$srcdir/libcxxabi-$pkgver.src"
# Tests on armhf are too slooow on armhf, disable them for now. # Tests on armhf are too slooow, disable them for now.
case "$CARCH" in case "$CARCH" in
armhf) options="!check";; armhf) options="!check";;
esac esac
@ -56,6 +56,7 @@ build() {
-DLIBCXXABI_USE_LLVM_UNWINDER=ON \ -DLIBCXXABI_USE_LLVM_UNWINDER=ON \
-DLIBCXXABI_LIBUNWIND_INCLUDES=/usr/include \ -DLIBCXXABI_LIBUNWIND_INCLUDES=/usr/include \
-DLIBCXXABI_LIBCXX_INCLUDES="$_cxxdir"/include \ -DLIBCXXABI_LIBCXX_INCLUDES="$_cxxdir"/include \
-DLIBCXXABI_LIBCXX_LIBRARY_PATH="$_cxxdir"/build/lib \
-DLIBCXXABI_INCLUDE_TESTS=1 -DLIBCXXABI_INCLUDE_TESTS=1
make make
@ -79,8 +80,7 @@ build() {
check() { check() {
cd "$_abidir"/build cd "$_abidir"/build
# FIXME! make check-cxxabi
make check-cxxabi || true
cd "$_cxxdir"/build cd "$_cxxdir"/build
# XXX: Some tests fail due to fakeroot currently, and some other due # XXX: Some tests fail due to fakeroot currently, and some other due