C-Thread-Pool/tests
2015-06-04 18:37:08 +01:00
..
ext_bugs Refactored tests 2015-01-16 18:21:34 +00:00
src Add unit test: run in nonzero heap/stack env. 2015-03-08 12:48:09 +01:00
funcs.sh Add THPOOL_DEBUG define (mandatory for debug msgs) 2015-03-31 12:53:50 +02:00
heap_stack_garbage.sh Tests for non-zero heap/stack bug 2015-03-12 19:16:27 +00:00
memleaks.sh Added checking of Valgrind output for errors 2015-06-04 18:37:08 +01:00
normal_compile.sh Tests for non-zero heap/stack bug 2015-03-12 19:16:27 +00:00
optimized_compile.sh Small fixes 2015-03-06 16:26:05 +00:00
pause_resume.sh Small fixes 2015-03-06 16:26:05 +00:00
README.md Tests for non-zero heap/stack bug 2015-03-12 19:16:27 +00:00
threadpool.sh Small fixes 2015-03-06 16:26:05 +00:00
wait.sh Small fixes 2015-03-06 16:26:05 +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.
heap_stack_garbage - Will test if previous garbage affects new threapools created.

Any test can be run with extra flags by exporting the variable COMPILATION_FLAGS. That's also how the optimized_compile test works.

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