From 03c13e5718a1791c0cf8baf7cd993afb48314371 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 3 Sep 2019 18:00:44 +0000 Subject: [PATCH] Disable stack exhaustion test on NetBSD, where either the detection or recovery mechanism does not appear to work. llvm-svn: 370801 --- clang/test/SemaTemplate/stack-exhaustion.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang/test/SemaTemplate/stack-exhaustion.cpp b/clang/test/SemaTemplate/stack-exhaustion.cpp index 2ee518d37fef..7f76212d2a49 100644 --- a/clang/test/SemaTemplate/stack-exhaustion.cpp +++ b/clang/test/SemaTemplate/stack-exhaustion.cpp @@ -1,6 +1,11 @@ // RUN: %clang_cc1 -verify %s // REQUIRES: thread_support +// FIXME: Detection of, or recovery from, stack exhaustion does not work on +// NetBSD at the moment. Since this is a best-effort mitigation for exceeding +// implementation limits, just disable the test. +// UNSUPPORTED: system-netbsd + // expected-warning@* 0-1{{stack nearly exhausted}} // expected-note@* 0+{{}}