C-Thread-Pool/tests
2015-03-06 16:12:28 +00:00
..
ext_bugs Refactored tests 2015-01-16 18:21:34 +00:00
src Specifying t secs to wait added 2015-02-06 10:54:22 +00:00
funcs bash -> sh 2015-03-06 16:12:28 +00:00
memleaks bash -> sh 2015-03-06 16:12:28 +00:00
normal_compile bash -> sh 2015-03-06 16:12:28 +00:00
optimized_compile bash -> sh 2015-03-06 16:12:28 +00:00
pause_resume bash -> sh 2015-03-06 16:12:28 +00:00
README.md Works now even when compiled with optimization flags 2015-03-06 16:11:07 +00:00
threadpool bash -> sh 2015-03-06 16:12:28 +00:00
wait bash -> sh 2015-03-06 16:12:28 +00:00

Tests

Case tests

memleaks     - Will run tests for memory leaks. valgrind is being used for this.
               Notice that valgrind requires one second to init each thread.
threadpool   - Will run general functional tests for the threadpool.
pause_resume - Will test the synchronisation of the threadpool from the user.
wait         - Will run tests to assuse that the wait() function works correctly.

Compilation cases

normal_compile    - Will run all tests above against a simply compiled threadpool.
optimized_compile - Will run all tests but against a binary that was compiled
                    with optimization flags.      

On errors

Check the created log file error.log