Changes between Version 1 and Version 2 of Building/RunningTests/Details


Ignore:
Timestamp:
Jul 8, 2011 10:58:06 PM (4 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/RunningTests/Details

    v1 v2  
    11= Testsuite Details = 
     2 
     3The testsuite is designed largely as follows, where we take the root of the testsuite to be `testsuite/`. Firstly we have the individual test cases to run. Each test case though can be run in multiple ways. These different ways (which are simply called ```ways```) correspond to things like different optimisation levels, using the threaded RTS or not... ect. Some test cases can be run in any way while others are specific to certain ways. The general layout of the testsuite is this: 
     4 
     5 * `config`: Contains the definition of the different ways supported. The only file of relevance here is `ghc`. No other Haskell compiler is actually supported by the testsuite. 
     6 * `driver`: Contains the python source code that forms the testsuite framework. 
     7 * `mk`: Contains the make source code that forms the testsuite framework. The make part is mostly concerned with invoking the python component, which does the actual work. 
     8 * `tests`: Contains the actual test cases to run. 
     9 * `timeout`: Contains a Haskell program that kills a running test case after a certain amount of time. Used by the testsuite framework. 
     10 
     11== Testsuite Implementation details == 
    212 
    313The testsuite driver is just a set of Python scripts, as are all of