[clang] [test] Disable the test exhausting stack on NetBSD
authorMichał Górny <mgorny@gentoo.org>
Thu, 12 Dec 2019 14:17:16 +0000 (15:17 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 12 Dec 2019 21:23:20 +0000 (22:23 +0100)
Disable the instantiation-depth-default.cpp test on NetBSD since it
requires more stack space than we have by default on NetBSD.

Differential Revision: https://reviews.llvm.org/D71419

clang/test/SemaTemplate/instantiation-depth-default.cpp

index 9d8b6cc..39410bd 100644 (file)
@@ -4,6 +4,9 @@
 // increases our per-frame stack usage enough that this test no longer fits
 // within our normal stack space allocation.
 // UNSUPPORTED: asan
+//
+// The default stack size on NetBSD is too small for this test.
+// UNSUPPORTED: system-netbsd
 
 template<int N, typename T> struct X : X<N+1, T*> {};
 // expected-error-re@8 {{recursive template instantiation exceeded maximum depth of 1024{{$}}}}