Skip to content
  1. Nov 21, 2012
  2. Nov 01, 2012
  3. Oct 30, 2012
  4. Oct 26, 2012
  5. Oct 19, 2012
  6. Oct 18, 2012
  7. Oct 05, 2012
  8. Oct 03, 2012
  9. Oct 02, 2012
  10. Jul 03, 2012
    • NAKAMURA Takumi's avatar
      llvm/test/lit.cfg: Retweak for Win32 to fix testing. · 2a4930c9
      NAKAMURA Takumi authored
        - execute_external should be;
          - Not on Win32.
          - Using bash.
          In reverse, "execute_internal" shoud be (Win32 && !bash).
      
        - lit.getBashPath() behaves differently before and after tweaking $PATH.
      
      I will add a few explanations there later.
      
      llvm-svn: 159641
      2a4930c9
  11. Jul 02, 2012
    • Chandler Carruth's avatar
      Convert all tests using TCL-style quoting to use shell-style quoting. · a5a29f97
      Chandler Carruth authored
      This was done through the aid of a terrible Perl creation. I will not
      paste any of the horrors here. Suffice to say, it require multiple
      staged rounds of replacements, state carried between, and a few
      nested-construct-parsing hacks that I'm not proud of. It happens, by
      luck, to be able to deal with all the TCL-quoting patterns in evidence
      in the LLVM test suite.
      
      If anyone is maintaining large out-of-tree test trees, feel free to poke
      me and I'll send you the steps I used to convert things, as well as
      answer any painful questions etc. IRC works best for this type of thing
      I find.
      
      Once converted, switch the LLVM lit config to use ShTests the same as
      Clang. In addition to being able to delete large amounts of Python code
      from 'lit', this will also simplify the entire test suite and some of
      lit's architecture.
      
      Finally, the test suite runs 33% faster on Linux now. ;]
      For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s
      
      llvm-svn: 159525
      a5a29f97
    • Chandler Carruth's avatar
      Switch a bunch of Linker tests from using elaborate echo productions to · 8bdfe1ec
      Chandler Carruth authored
      just provide and reference separate input files from an Inputs
      subdirectory. This pattern works very well in the Clang tree and is
      easier to understand in my opinion. It also has fewer limitations and
      will remove one particularly annoying use of TCL-style {} quoting from
      the testsuite.
      
      Also teach the LLVM lit configuration to avoid recursing into 'Inputs'
      subdirectories. This wasn't required for the previous 'Inputs'
      subdirectories used due to fortuitous suffix patterns.
      
      This is the first step to completely removing support for TCL-style tests.
      
      llvm-svn: 159520
      8bdfe1ec
  12. Jun 28, 2012
    • Chandler Carruth's avatar
      Remove 'site.exp' building from both CMake and configure+make. · bf2b400f
      Chandler Carruth authored
      This is another vestige of the DejaGNU roots. There were FIXMEs in the
      lit setup to add a 'lit.site.cfg', which has been around for quite some
      time now, so I've properly switched the handling of the 4 things
      actually used in site.exp to go through lit.site.cfg now. No more
      parsing of the .exp file, one fewer configure-style generated file,
      etc., etc.
      
      llvm-svn: 159313
      bf2b400f
  13. Apr 19, 2012
    • Michael J. Spencer's avatar
      Remove llvm-ld and llvm-stub (which is only used by llvm-ld). · 9125493e
      Michael J. Spencer authored
      llvm-ld is no longer useful and causes confusion and so it is being removed.
      
      * Does not work very well on Windows because it must call a gcc like driver to
        assemble and link.
      * Has lots of hard coded paths which are wrong on many systems.
      * Does not understand most of ld's options.
      * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} |
        ld, or fully replaced by Clang.
      
      I know of no production use of llvm-ld, and hacking use should be
      replaced by Clang's driver.
      
      llvm-svn: 155147
      9125493e
  14. Apr 13, 2012
  15. Mar 25, 2012
    • Eli Bendersky's avatar
      Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu · f3308605
      Eli Bendersky authored
      * Removed test/lib/llvm.exp - it is no longer needed 
      * Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files
        left in the test suite so this code is no longer required. test/lit.cfg is
        now much shorter and clearer 
      * Removed a lot of duplicate code in lit.local.cfg files that need access to
        the root configuration, by adding a "root" attribute to the TestingConfig
        object. This attribute is dynamically computed to provide the same
        information as was previously provided by the custom getRoot functions. 
      * Documented the config.root attribute in docs/CommandGuide/lit.pod
      
      llvm-svn: 153408
      f3308605
  16. Feb 16, 2012
  17. Jan 16, 2012
  18. Nov 28, 2011
  19. Nov 05, 2011
  20. Oct 27, 2011
  21. Oct 06, 2011
  22. Oct 04, 2011
  23. Sep 21, 2011
  24. Aug 30, 2011
  25. Jun 23, 2011
    • Andrew Trick's avatar
      lit support for REQUIRES: asserts. · 67ff0718
      Andrew Trick authored
      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.
      
      llvm-svn: 133664
      67ff0718
  26. Feb 24, 2011
    • NAKAMURA Takumi's avatar
      test/lit.cfg: Add PATHEXT to 'substitution', to recognize tools on Windows... · cb1b5ff9
      NAKAMURA Takumi authored
      test/lit.cfg: Add PATHEXT to 'substitution', to recognize tools on Windows hosts. Thanks to Danil Malyshev!
      
      Some tests on Windows use the "not" utility and fail with an error "program not executable". The reason for this error is that the name of the executable file sended to the "not" without the extension.
      
      llvm-svn: 126383
      cb1b5ff9
  27. Feb 22, 2011
  28. Feb 09, 2011
  29. Jan 05, 2011
  30. Jan 04, 2011
    • Tobias Grosser's avatar
      Include llvm-gcc dir before llvm_tools_dir · 4ccb9238
      Tobias Grosser authored
      This ensures that always the recently compiled tools are picked for testing.
      
      llvm-svn: 122810
      4ccb9238
    • David Greene's avatar
      · 4b71405b
      David Greene authored
      Don't pattern match "/clang" so we don't mangle directory names.  Some
      tests use absolute paths to clang.
      
      llvm-svn: 122796
      4b71405b
  31. Jan 03, 2011
    • David Greene's avatar
      · 544a3e93
      David Greene authored
      Don't pattern match "clang-" as it may be part of a tool name with a
      triple suffix.
      
      llvm-svn: 122779
      544a3e93
    • David Greene's avatar
      · dc276c31
      David Greene authored
      Reapply 122341 to fix PR8199 now that clang changes are in.
      
      llvm-svn: 122754
      dc276c31
  32. Dec 21, 2010
    • David Greene's avatar
      · be57ab18
      David Greene authored
      Revert 122341.  It breaks some darwin tests.
      
      llvm-svn: 122346
      be57ab18
    • David Greene's avatar
      · a93adab3
      David Greene authored
      Fix PR 8199.  This patch prepends the build tool dir to LLVM programs
      being tested.  This ensures that we test the tools just built and not
      some random tools that might happen to be in the user's PATH.  This
      makes LLVM testing much more stable and predictable.
      
      llvm-svn: 122341
      a93adab3
  33. Dec 07, 2010
Loading