summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-10-19 16:53:24 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-10-21 06:48:06 -0500
commit55815ff45513e7877423f9a8cc89258ba2a83339 (patch)
treeba579938eb4c36fb59cb1a9892dc9ae346c74a43
parent4afe87d1a4d0f56fd162541c515f0951b5921bd1 (diff)
downloadpackages-55815ff45513e7877423f9a8cc89258ba2a83339.tar.gz
packages-55815ff45513e7877423f9a8cc89258ba2a83339.tar.bz2
packages-55815ff45513e7877423f9a8cc89258ba2a83339.tar.xz
packages-55815ff45513e7877423f9a8cc89258ba2a83339.zip
user/rust: Disable print_vtable_sizes test
This test requires floating point precision that is not available on i586 systems (pmmx), causing the test to fail because of rounding. Closes: #1259
-rw-r--r--user/rust/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/rust/APKBUILD b/user/rust/APKBUILD
index ed606fd38..ede75b2d8 100644
--- a/user/rust/APKBUILD
+++ b/user/rust/APKBUILD
@@ -68,6 +68,10 @@ prepare() {
default_prepare
# These tests require Node and various NPM packages.
rm -rf "$builddir"/tests/rustdoc-*
+
+ # Tests depend on FP precision that can't be given on i586: #1259
+ rm -f "$builddir"/tests/ui/traits/object/print_vtable_sizes.rs
+ rm -f "$builddir"/tests/ui/traits/object/print_vtable_sizes.stdout
}
build() {