From eae4744d86ab8295a81968ce9ef3d11c24598a5c Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Sat, 9 Jul 2022 08:08:04 +0000
Subject: [PATCH] testing/fast_float: build tests with check only

---
 testing/fast_float/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/fast_float/APKBUILD b/testing/fast_float/APKBUILD
index d432a11897fd..c8490e840d30 100644
--- a/testing/fast_float/APKBUILD
+++ b/testing/fast_float/APKBUILD
@@ -15,7 +15,7 @@ build() {
 	cmake -B builddir -G Ninja \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_BUILD_TYPE=Release \
-		-DFASTFLOAT_TEST=ON \
+		-DFASTFLOAT_TEST="$(want_check && echo ON || echo OFF)" \
 		-DSYSTEM_DOCTEST=ON
 	cmake --build builddir
 }
-- 
GitLab