... | ... | @@ -425,4 +425,4 @@ compiler version. For example, the sample `stderr` for GHC 6.8.x would go in th |
|
|
## Threaded Considerations
|
|
|
|
|
|
|
|
|
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. |
|
|
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. |