lit support for REQUIRES: asserts.
authorAndrew Trick <atrick@apple.com>
Wed, 22 Jun 2011 23:23:19 +0000 (23:23 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 22 Jun 2011 23:23:19 +0000 (23:23 +0000)
commitf2a58425cd2a288b1d9fc3d2484ac774d361a0d7
tree886dadc60c20d9c05fae3d279a63608e10ba32f1
parent1a3ab63cb59d7f7726b47cdda3b9509e999d1653
lit support for REQUIRES: asserts.

Take #2. Don't piggyback on the existing config.build_mode. Instead,
define a new lit feature for each build feature we need (currently
just "asserts"). Teach both autoconf'd and cmake'd Makefiles to define
this feature within test/lit.site.cfg. This doesn't require any lit
harness changes and should be more robust across build systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133664 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
test/CodeGen/X86/2011-06-14-PreschedRegalias.ll
test/Makefile
test/lit.cfg
test/lit.site.cfg.in
utils/lit/lit/TestRunner.py
utils/lit/lit/TestingConfig.py