Small stilistic changes

This commit is contained in:
Pithikos 2017-01-17 19:17:59 +00:00
parent ea938fcc9e
commit bc95c0ed47
2 changed files with 3 additions and 3 deletions

4
tests/README.md Normal file → Executable file
View File

@ -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

View File

@ -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);