mirror of
https://github.com/Pithikos/C-Thread-Pool
synced 2024-11-28 00:09:51 +03:00
Small fixes
This commit is contained in:
parent
04c37b8bf8
commit
984f6f9408
@ -10,6 +10,8 @@ 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**
|
||||
|
@ -5,7 +5,7 @@
|
||||
# valgrind is used so make sure you have it installed
|
||||
#
|
||||
|
||||
. funcs
|
||||
. funcs.sh
|
||||
|
||||
|
||||
# ---------------------------- Tests -----------------------------------
|
||||
|
@ -8,9 +8,9 @@
|
||||
|
||||
# ---------------------------- Tests -----------------------------------
|
||||
|
||||
. threadpool
|
||||
. pause_resume
|
||||
. memleaks
|
||||
. wait
|
||||
. threadpool.sh
|
||||
. pause_resume.sh
|
||||
. memleaks.sh
|
||||
. wait.sh
|
||||
|
||||
echo "No errors"
|
||||
|
@ -10,6 +10,6 @@
|
||||
# ---------------------------- Tests -----------------------------------
|
||||
|
||||
COMPILATION_FLAGS='-g -O'
|
||||
. normal_compile
|
||||
. normal_compile.sh
|
||||
|
||||
echo "No optimization errors"
|
||||
|
@ -5,7 +5,7 @@
|
||||
# valgrind is used so make sure you have it installed
|
||||
#
|
||||
|
||||
. funcs
|
||||
. funcs.sh
|
||||
|
||||
|
||||
# ---------------------------- Tests -----------------------------------
|
||||
|
@ -5,7 +5,7 @@
|
||||
# might use in his/her code
|
||||
#
|
||||
|
||||
. funcs
|
||||
. funcs.sh
|
||||
|
||||
|
||||
function test_mass_addition { #endsum #threads
|
||||
|
@ -5,7 +5,7 @@
|
||||
# valgrind is used so make sure you have it installed
|
||||
#
|
||||
|
||||
. funcs
|
||||
. funcs.sh
|
||||
|
||||
|
||||
# ---------------------------- Tests -----------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user