Skip to content
Snippets Groups Projects
Commit 3044ea99 authored by Shiz ...'s avatar Shiz ...
Browse files

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

parent fc348670
No related merge requests found
...@@ -26,7 +26,7 @@ builddir="$srcdir" ...@@ -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() { ...@@ -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() { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment