Changes between Version 8 and Version 9 of Building/RunningTests/Adding


Ignore:
Timestamp:
Nov 15, 2011 7:48:10 PM (2 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/RunningTests/Adding

    v8 v9  
    347347== Threaded Considerations == 
    348348 
    349 The 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. 
     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.