[lld] r189147 - Check for "asserts" rather than "debug" on test
Tim Northover
tnorthover at apple.com
Fri Aug 23 14:10:37 PDT 2013
Author: tnorthover
Date: Fri Aug 23 16:10:37 2013
New Revision: 189147
URL: http://llvm.org/viewvc/llvm-project?rev=189147&view=rev
Log:
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.
Modified:
lld/trunk/test/layout-error-test.objtxt
Modified: lld/trunk/test/layout-error-test.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/layout-error-test.objtxt?rev=189147&r1=189146&r2=189147&view=diff
==============================================================================
--- lld/trunk/test/layout-error-test.objtxt (original)
+++ lld/trunk/test/layout-error-test.objtxt Fri Aug 23 16:10:37 2013
@@ -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
More information about the llvm-commits
mailing list