1. 20 Sep, 2013 1 commit
  2. 15 Mar, 2013 1 commit
  3. 07 Dec, 2012 1 commit
  4. 30 Jan, 2012 2 commits
    • Ian Lynagh's avatar
      Tweak TH_Depends · 0b395e15
      Ian Lynagh authored
      It was explicitly removing the program inbetween the two runs, but
      I don't see why that should be necessary.
    • Ian Lynagh's avatar
      Make TH_Depends more portable · b2e4c1ed
      Ian Lynagh authored
      We now just sleep for 2 seconds, rather than using
          touch --date="now + 3 seconds"
      which doesn't work on OS X. OS X does have "touch -A", but that doesn't
      work on Linux.
  5. 06 Nov, 2011 1 commit
  6. 18 Oct, 2011 1 commit
  7. 20 Jul, 2011 1 commit
  8. 20 Apr, 2011 1 commit
    • Simon Peyton Jones's avatar
      Add TEST_HC_OPTS to every Makefile invocation of TEST_HC · 6c32ee85
      Simon Peyton Jones authored
      In the testsuite there are numerous Makefiles that invoke $(TEST_HC).
      But, unlike the tests invoked directly by the harness, they didn't pass
      -dno-debug-output, or $(EXTRA_HC_OPTS).
      This patch goes part-way towards the goal of making the two consistent:
      * Almost all invocations in the Makefiles now go
          '$(TEST_HC)' $(TEST_HC_OPTS)
      * In test.mk we initialise
           TEST_HC_OPTS = -dno-debug-output $(EXTRA_HC_OPTS)
      Still to come (I don't know how to do these)
      * The invocations of TEST_HC via cabal are not treated
        (eg cabal01, cabal04), and they should be
      * TEST_HC_OPTS should probably be initialised the same way
        as the Python script computes the flags to pass to the
        TEST_HC that it calls directly
  9. 21 Oct, 2009 1 commit
  10. 18 Sep, 2008 1 commit
  11. 23 Aug, 2008 1 commit
  12. 07 Jul, 2008 1 commit
  13. 07 Nov, 2002 1 commit
  14. 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
  15. 21 Nov, 2001 1 commit
  16. 22 Aug, 2001 2 commits
    • simonmar's avatar
      [project @ 2001-08-22 12:31:24 by simonmar] · 1f95756d
      simonmar authored
      Add a Makefile here.
    • simonmar's avatar
      [project @ 2001-08-22 10:42:32 by simonmar] · 6011b4e5
      simonmar authored
      Use makefiles in the subdirectories to ease running the test driver in
      a subdirectory.  It can be run in the following ways:
       	make		-- run all the tests in the current directory
       	make verbose	-- as make test, but up the verbosity
       	make accept	-- run the tests, accepting the current output
      and you can also set some variables on the command line, eg.
      	make accept TESTS=arr001  -- accept an individual test
      	make EXTRA_HC_OPTS='-v'   -- extra flags to the haskell compiler
      	make CONFIG=<config>	  -- use a different test config
      this will all go in the docs at some point.