1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +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"
_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
armhf) options="!check";;
esac
@ -56,6 +56,7 @@ build() {
-DLIBCXXABI_USE_LLVM_UNWINDER=ON \
-DLIBCXXABI_LIBUNWIND_INCLUDES=/usr/include \
-DLIBCXXABI_LIBCXX_INCLUDES="$_cxxdir"/include \
-DLIBCXXABI_LIBCXX_LIBRARY_PATH="$_cxxdir"/build/lib \
-DLIBCXXABI_INCLUDE_TESTS=1
make
@ -79,8 +80,7 @@ build() {
check() {
cd "$_abidir"/build
# FIXME!
make check-cxxabi || true
make check-cxxabi
cd "$_cxxdir"/build
# XXX: Some tests fail due to fakeroot currently, and some other due