From 274a023d70d0e25650c311c2dc555060aa6f16c1 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Fri, 23 Aug 2013 21:10:37 +0000 Subject: [PATCH] Check for "asserts" rather than "debug" on test The debug flag being checked for seems to be controlled by whether the build is asserts/non-asserts rather than debug/non-debug. Mostly these correlate, but not necessarily. As far as I can tell with various combinations of debug/assetions this change makes no difference on autotools builds, but fixes a check-all failure with CMake. llvm-svn: 189147 --- lld/test/layout-error-test.objtxt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/test/layout-error-test.objtxt b/lld/test/layout-error-test.objtxt index e2fb9b4..c9594d2 100644 --- a/lld/test/layout-error-test.objtxt +++ b/lld/test/layout-error-test.objtxt @@ -1,4 +1,4 @@ -# REQUIRES: debug +# REQUIRES: asserts # RUN: not lld -core --add-pass layout -mllvm -debug-only=LayoutPass \ # RUN: %s 2> %t.err # RUN: FileCheck %s -check-prefix=CHECK < %t.err -- 2.7.4