1. 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.
      96eedd07
    • 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.
      f2600f8b
  2. 26 Aug, 2002 1 commit
  3. 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.
      
      Highlights:
      
        - 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
      failures.
      e5063a04
  4. 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
      features:
      
          * 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
            luck)
          * Splundig vur thrig, earthlets!
      c9cb517c
  5. 27 Aug, 2001 1 commit
  6. 22 Aug, 2001 3 commits