llvm.org GIT mirror llvm / a99256e
Describe llvm/test more accurately given recent changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34055 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 12 years ago
1 changed file(s) with 21 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
215215 subtrees of the test suite directory tree are as follows:

216216
217217
218
  • llvm/test/Features
  • 219

    This directory contains sample codes that test various features of the

    220 LLVM language. These pieces of sample code are run through various
    221 assembler, disassembler, and optimizer passes.

    222
    223
    224
  • llvm/test/Regression
  • 225

    This directory contains regression tests for LLVM. When a bug is found

    226 in LLVM, a regression test containing just enough code to reproduce the
    227 problem should be written and placed somewhere underneath this directory.
    228 In most cases, this will be a small piece of LLVM assembly language code,
    229 often distilled from an actual application or benchmark.

    230 >
    218
  • llvm/test>
  • 219

    This directory contains a large array of small tests

    220 that exercise various features of LLVM and to ensure that regressions do not
    221 occur. The directory is broken into several sub-directories, each focused on
    222 a particular area of LLVM. A few of the important ones are:
    223
  • Analysis: checks Analysis passes.
  • 224
  • Archive: checks the Archive library.
  • 225
  • Assembler: checks Assembly reader/writer functionality.
  • 226
  • Bytecode: checks Bytecode reader/writer functionality.
  • 227
  • CodeGen: checks code generation and each target.
  • 228
  • Features: checks various features of the LLVM language.
  • 229
  • Linker: tests bytecode linking.
  • 230
  • Transforms: tests each of the scalar, IPO, and utility
  • 231 transforms to ensure they make the right transformations.
    232
  • Verifier: tests the IR verifier.
  • 233

    234

    Typically when a bug is found in LLVM, a regression test containing

    235 just enough code to reproduce the problem should be written and placed
    236 somewhere underneath this directory. In most cases, this will be a small
    237 piece of LLVM assembly language code, often distilled from an actual
    238 application or benchmark.

    231239
    232240
  • llvm-test
  • 233241

    The llvm-test CVS module contains programs that can be compiled