1. 18 Jul, 2007 1 commit
  2. 03 Jul, 2007 1 commit
    • Simon Marlow's avatar
      don't reset MAKEFLAGS in recursive make in 'make fast' · b1defde7
      Simon Marlow authored
      It breaks some tests on Windows, because the stage=2 setting is lost
      in the recursive call.  I don't understand why these variables are
      passed in MAKEFLAGS on Windows (cygwin) but not on Unix, something to
      do with environment variables presumably.
  3. 21 Jun, 2007 1 commit
  4. 25 May, 2007 1 commit
  5. 05 Apr, 2007 1 commit
  6. 08 Mar, 2007 1 commit
  7. 21 Feb, 2007 1 commit
    • Simon Marlow's avatar
      Look for .T files in packages too · 55529322
      Simon Marlow authored
      This means we can put package-specific tests in the repository for the
      package, rather than putting them in the testsuite.  There should be a
      .T file to go with the tests, in the same way as for other tests in
      the testsuite (but this could be in addition to a standalone test
      driver that works with Cabal's 'setup test').
  8. 06 Feb, 2007 2 commits
  9. 16 Dec, 2006 1 commit
  10. 17 Nov, 2006 1 commit
  11. 15 Dec, 2006 1 commit
  12. 18 Sep, 2006 1 commit
  13. 16 Sep, 2006 1 commit
  14. 01 Sep, 2006 1 commit
  15. 30 Aug, 2006 1 commit
  16. 29 Aug, 2006 2 commits
  17. 25 Aug, 2006 1 commit
  18. 22 Aug, 2006 1 commit
  19. 07 Apr, 2006 1 commit
  20. 10 Feb, 2006 1 commit
  21. 08 Feb, 2006 2 commits
  22. 01 Feb, 2006 1 commit
  23. 18 Jan, 2006 1 commit
    • simonmar's avatar
      [project @ 2006-01-18 16:31:10 by simonmar] · ff6b4956
      simonmar authored
      Add a fast version of the testsuite
      The idea is to have a way to run as much of the testsuite as possible
      in a short time, so that we'll run it more often (such as just before
      checking in a change, for example).  'make fast' tries for good
      coverage without using too many cycles.  Currently it takes about 4
      minutes on a fast machine with an optimised GHC build; I think this
      might still be a little on the slow side.
      When you say 'make fast' in testsuite/tests/ghc-regress, we run each
      test only one way, and all of the long-running tests are omitted.
      Also, to get the runtime down further, I arbitrarily omitted many of
      the should_run tests (because these tend to take a lot longer than
      should_compile or should_fail tests).  I tried to keep a
      representative few in each category.
  24. 25 Oct, 2005 1 commit
  25. 04 Feb, 2005 1 commit
  26. 09 Dec, 2004 1 commit
  27. 10 Nov, 2004 1 commit
    • ross's avatar
      [project @ 2004-11-10 12:20:00 by ross] · 87dc431f
      ross authored
      Add a make variable COMPILER (default: ghc) to select a configuration file
      from the config directory without have=ing to give a full path.
  28. 09 Sep, 2004 1 commit
  29. 19 Jul, 2004 1 commit
    • igloo's avatar
      [project @ 2004-07-19 22:11:45 by igloo] · 805e7047
      igloo authored
      Allows a -ws-64 stdout variant rather than requiring each 64-bit
      platform to have a -platform one. (You now need to make boot in
      testsuite after configure but before running tests).
      Modify enum001, partly to alter spacing but also to inline printTest
      where things like \NUL are used, as modern cpp behaves differently.
      Rename the generated .script files to .genscript to make it easier to
      clean a testsuite tree.
  30. 01 Mar, 2004 1 commit
  31. 28 Oct, 2003 1 commit
  32. 02 Dec, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-12-02 13:43:43 by simonmar] · 024444aa
      simonmar authored
      Add support for running tests with GHCi.  This is an additional "way"
      in the test system, which is enabled automatically if
      $(GhcWithInterpreter) = YES, and only applies to tests that run (as
      opposed to tests that just compile).
  33. 11 Sep, 2002 2 commits
    • simonmar's avatar
      [project @ 2002-09-11 10:50:31 by simonmar] · 96eedd07
      simonmar authored
      Add makefile machinery so you can say
      	$ make TEST=cg001 WAY=prof
      to get a specific test in a specific way only.
    • simonmar's avatar
      [project @ 2002-09-11 10:47:57 by simonmar] · f2600f8b
      simonmar authored
      - Move some of the way-selection logic into the configuration file;
        the build system now just passes in variables saying whether the
        compiler supports profiling and native code generation, and the
        configuration file adds the appropriate ways.
      - Add a new option to the test driver, --way=<way> to select just a
        single way.
  34. 26 Aug, 2002 1 commit
  35. 31 Jul, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-07-31 14:24:18 by simonmar] · e5063a04
      simonmar authored
      Revamp the testsuite framework.  The previous framework was an
      experiment that got a little out of control - a whole new language
      with an interpreter written in Haskell was rather heavyweight and left
      us with a maintenance problem.
      So the new test driver is written in Python.  The downside is that you
      need Python to run the testsuite, but we don't think that's too big a
      problem since it only affects developers and Python installs pretty
      easily onto everything these days.
        - 790 lines of Python, vs. 5300 lines of Haskell + 720 lines of
          <strange made-up language>.
        - the framework supports running tests in various "ways", which should
          catch more bugs.  By default, each test is run in three ways:
          normal, -O, and -O -fasm.  Additionally, if profiling libraries
          have been built, another way (-O -prof -auto-all) is added.  I plan
          to also add a 'GHCi' way.
          Running tests multiple ways has already shown up some new bugs!
        - documentation is in the README file and is somewhat improved.
        - the framework is rather less GHC-specific, and could without much
          difficulty be coaxed into using other compilers.  Most of the
          GHC-specificness is in a separate configuration file (config/ghc).
      Things may need a while to settle down.  Expect some unexpected
  36. 07 Sep, 2001 1 commit
    • rrt's avatar
      [project @ 2001-09-07 13:00:51 by rrt] · c9cb517c
      rrt authored
      Test-suite titivation
      This commit achieves several glorious goals and adds many frivolous
          * Makes the test driver work on Windows (use bash for system calls)
          * Adds -Di386_unknown_mingw32 to CPP_OPTS so that Win-specific code is
            compiled properly
          * Adds the ability to have platform-specific test results (by setting
            the new $platform variable to config.mk's TARGETPLATFORM)
          * Fixes several tests to work on Windows, mostly by adding platform-
            specific result files.
          * Pipes all stderr files through normalise_errmsg, which itself is
            improved to handle .exe at the end of filenames, and backslashes.
          * Allows stdout output to be piped through normalise_errmsg; useful in
            the rare cases where output includes filenames.
          * Comprehensively breaks the testsuite on all other platforms (with any
          * Splundig vur thrig, earthlets!