From bc95c0ed471cae4310604957f713f32e9c600792 Mon Sep 17 00:00:00 2001 From: Pithikos Date: Tue, 17 Jan 2017 19:17:59 +0000 Subject: [PATCH] Small stilistic changes --- tests/README.md | 4 ++-- tests/src/no_work.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 tests/README.md 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);