diff --git a/tests/README.md b/tests/README.md old mode 100644 new mode 100755 index 5bb5eb7..3c2ce49 --- a/tests/README.md +++ b/tests/README.md @@ -1,13 +1,13 @@ Tests ------------------------------------------------------------------------ -**Case tests** +**Test cases** ```` 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. +wait - Will run tests to ensure 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 diff --git a/tests/src/no_work.c b/tests/src/no_work.c index b7a802d..e055c72 100644 --- a/tests/src/no_work.c +++ b/tests/src/no_work.c @@ -9,7 +9,7 @@ int main(int argc, char *argv[]){ char* p; if (argc != 2){ - puts("This testfile needs excactly one arguments"); + puts("This testfile needs exactly one arguments"); exit(1); } int num_threads = strtol(argv[1], &p, 10);