From 53a71b9f66dbc7f0ce44ec95bff7caa31fa0374b Mon Sep 17 00:00:00 2001
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Fri, 10 Jan 2025 20:08:33 +0100
Subject: [PATCH] hurd: Mark more memory-hungry tests as unsupported

until RLIMIT_AS support gets commited in gnumach.
---
 sysdeps/mach/hurd/Makefile | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index 1cfedfc9a0..f57b2b525f 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -306,6 +306,15 @@ endif
 
 # For bug 30166
 # (missing RLIMIT_AS support)
+ifeq ($(subdir),elf)
+tests-unsupported += tst-tls-allocation-failure-static-patched
+endif
+ifeq ($(subdir),io)
+tests-unsupported += test-lfs
+endif
+ifeq ($(subdir),libio)
+tests-unsupported += tst-asprintf-null
+endif
 ifeq ($(subdir),malloc)
 tests-unsupported += tst-malloc-thread-fail
 tests-unsupported += tst-malloc-thread-fail-malloc-check
@@ -314,6 +323,19 @@ tests-unsupported += tst-malloc-thread-fail-malloc-hugetlb1
 tests-unsupported += tst-malloc-thread-fail-malloc-hugetlb2
 tests-unsupported += tst-dynarray-fail
 endif
+ifeq ($(subdir),misc)
+tests-unsupported += bug18240
+endif
+ifeq ($(subdir),stdio-common)
+tests-unsupported += tst-getline-enomem
+tests-unsupported += tst-getline-enomem-mem
+endif
+ifeq ($(subdir),stdlib)
+tests-unsupported += test-bz22786 tst-strtod-overflow
+endif
+ifeq ($(subdir),timezone)
+tests-unsupported += tst-tzset
+endif
 
 # For bug 30167
 # (select requests overflow)