llvm-6502/test
John McCall 7b7b90769a Teach lit to honor conditional directives. The syntax is:
IF(condition(value)):
If the value satisfies the condition, the line is processed by lit;  otherwise
it is skipped.  A test with no unignored directives is resolved as Unsupported.

The test suite is responsible for defining conditions;  conditions are unary
functions over strings.  I've defined two conditions in the LLVM test suite,
TARGET (with values like those in TARGETS_TO_BUILD) and BINDING (with values
like those in llvm_bindings).  So for example you can write:
  IF(BINDING(ocaml)): RUN: %blah %s -o -
and the RUN line will only execute if LLVM was configured with the ocaml
bindings.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97726 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-04 09:36:50 +00:00
..
Analysis remove andersen's tests. 2010-03-01 20:23:15 +00:00
Archive
Assembler
Bindings/Ocaml Expose the rest of the llvm-c scalar opts to ocaml. 2010-03-03 23:51:34 +00:00
Bitcode
BugPoint
CodeGen Revert r97580; that's not the right way to fix this. 2010-03-03 04:36:42 +00:00
DebugInfo Remove test to check bugfix in handing debug info for global variables using intrinsics. Now, debug info for global variable is encoded using metadata. The old code path is now history and there is no need to have a test to check a bug fix in old code path. 2010-03-01 19:09:55 +00:00
ExecutionEngine Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul, 2010-03-02 01:11:08 +00:00
Feature
FrontendAda
FrontendC Eliminate llvmgcc_version testing variable. 2010-02-23 07:56:28 +00:00
FrontendC++ Ignore target dependent value in grep search. 2010-02-18 19:52:12 +00:00
FrontendFortran
FrontendObjC new test case for r96974. 2010-02-23 19:37:40 +00:00
FrontendObjC++
Integer
lib Eliminate llvmgcc_version testing variable. 2010-02-23 07:56:28 +00:00
Linker
LLVMC Update the test suite. 2010-02-23 09:04:51 +00:00
MC This is a patch to the assembler frontend to detect when aligning a text 2010-02-25 18:46:04 +00:00
Other stop using anders-aa 2010-03-01 20:24:50 +00:00
Scripts
TableGen
Transforms Make the 'icmp pred trunc(ext(X)), CST --> icmp pred X, ext(trunc(CST))' 2010-03-04 06:54:10 +00:00
Unit Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
Verifier
CMakeLists.txt
lit.cfg Teach lit to honor conditional directives. The syntax is: 2010-03-04 09:36:50 +00:00
lit.site.cfg.in
Makefile Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
Makefile.tests Switch .bc/.ll Makefile rules to use LLVM{CC,CXX} instead of LLVMG{CC,XX} 2010-02-23 10:28:06 +00:00
site.exp.in Eliminate llvmgcc_version testing variable. 2010-02-23 07:56:28 +00:00
TestRunner.sh