aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2023-11-01 02:09:58 +0000
committerCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2023-11-01 04:00:54 +0000
commit2bee3625a0a9e4577b12ce673975808a26cae906 (patch)
treec56262d1f736d4a836122d094a793d1f93f83fcf
parentaafb7f3d425223905fac682db94d4063599681c8 (diff)
community/vtk: exclude failing test
1357/1640 Test #1402: VTK::FiltersCoreCxx-TestFeatureEdges .........................................................Subprocess aborted***Exception: 0.12 sec /usr/include/c++/13.2.1/bits/stl_vector.h:1125: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = char; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. Loguru caught a signal: SIGABRT ( 0.009s) [main thread ] :0 FATL| Signal: SIGABRT Also, enable tests on all architectures, and enable more verbose output for failed tests
-rw-r--r--community/vtk/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/vtk/APKBUILD b/community/vtk/APKBUILD
index d99b82ed7a1..b13764e1636 100644
--- a/community/vtk/APKBUILD
+++ b/community/vtk/APKBUILD
@@ -52,13 +52,6 @@ source="
"
builddir="$srcdir/VTK-$pkgver"
-case "$CARCH" in
-arm*)
- # for some reason, most of the tests segfault
- options="$options !check"
- ;;
-esac
-
build() {
CXXFLAGS="$CXXFLAGS -DLOGURU_STACKTRACES=0" \
cmake -B build -G Ninja \
@@ -79,7 +72,11 @@ build() {
}
check() {
- xvfb-run -a ctest -a -j $JOBS --test-dir ./build
+ xvfb-run -a ctest -a -j $JOBS \
+ --rerun-failed \
+ --output-on-failure \
+ -E 'FiltersCoreCxx-TestFeatureEdges' \
+ --test-dir ./build
}
package() {