C-Thread-Pool/tests
2015-03-06 16:26:05 +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.sh Tests are clean BASH scripts now 2015-03-06 16:18:15 +00:00
memleaks.sh Small fixes 2015-03-06 16:26:05 +00:00
normal_compile.sh Small fixes 2015-03-06 16:26:05 +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 Small fixes 2015-03-06 16:26:05 +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.

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