Changes between Version 4 and Version 5 of Building/RunningTests/Adding


Ignore:
Timestamp:
Jul 12, 2011 7:40:31 PM (3 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/RunningTests/Adding

    v4 v5  
    344344compiler version.  For example, the sample `stderr` for GHC 6.8.x would go in the file 
    345345`T.stderr-ghc-6.8`. 
     346 
     347== Threaded Considerations == 
     348 
     349The testsuite has fairly good support for running tests in parallel using a thread pool of size specified by the `THREADS=` value. This does mean you need to be careful when writing test cases to keep them independent of each other. You are usually not able to share files between test cases as they can run in arbitrary order and will easily conflict with each other. If you must write test cases that are dependent on each other, be sure to use the `alone` setup function that insures a test case runs by itself in the main testsuite thread. All dependent test cases should use the `alone` setup function. Try not to do this extensively though as it means we can't easily speed up the testsuite by throwing cores at it.