various fixes to leak test and added NDEBUG
fixed test6 to include inner local tasks my own implementation leaked memory because of the custom allocator which wasn't tested before changed Makefile to set NDEBUG for benchmarking remove asserts. Critical failure must be aborted even when NDEBUG is on
Showing
- tests/.gitignore 11 additions, 0 deletionstests/.gitignore
- tests/Makefile 3 additions, 2 deletionstests/Makefile
- tests/fib_test.c 0 additions, 1 deletiontests/fib_test.c
- tests/list.c 1 addition, 1 deletiontests/list.c
- tests/mergesort.c 0 additions, 1 deletiontests/mergesort.c
- tests/psum_test.c 0 additions, 1 deletiontests/psum_test.c
- tests/quicksort.c 0 additions, 1 deletiontests/quicksort.c
- tests/threadpool_test.c 0 additions, 1 deletiontests/threadpool_test.c
- tests/threadpool_test2.c 0 additions, 1 deletiontests/threadpool_test2.c
- tests/threadpool_test3.c 0 additions, 1 deletiontests/threadpool_test3.c
- tests/threadpool_test4.c 4 additions, 2 deletionstests/threadpool_test4.c
- tests/threadpool_test5.c 4 additions, 2 deletionstests/threadpool_test5.c
- tests/threadpool_test6.c 13 additions, 1 deletiontests/threadpool_test6.c
Loading
Please register or sign in to comment