From f73cc72a438288a2ec6cf7dbeb38bb708cd05885 Mon Sep 17 00:00:00 2001
From: omni <omni+alpine@hack.org>
Date: Thu, 11 Apr 2024 19:40:49 +0000
Subject: [PATCH] community/onefetch: disable a test on riscv64

---
 community/onefetch/APKBUILD | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/community/onefetch/APKBUILD b/community/onefetch/APKBUILD
index bbbadda75a39..53c830356478 100644
--- a/community/onefetch/APKBUILD
+++ b/community/onefetch/APKBUILD
@@ -53,7 +53,14 @@ build() {
 }
 
 check() {
-	cargo test --frozen
+	case "$CARCH" in
+	riscv64)
+		cargo test --frozen -- --skip test_repo
+		;;
+	*)
+		cargo test --frozen
+		;;
+	esac
 }
 
 package() {
-- 
GitLab