Check for "asserts" rather than "debug" on test
authorTim Northover <tnorthover@apple.com>
Fri, 23 Aug 2013 21:10:37 +0000 (21:10 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 23 Aug 2013 21:10:37 +0000 (21:10 +0000)
commit274a023d70d0e25650c311c2dc555060aa6f16c1
tree57ca36932fc56206887442671bdf3ae521e2aa5e
parentdbd930fdb65f2377ad77b05aff4323c9be797e5f
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