aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index b52d972..9c944e2 100644
--- a/README.md
+++ b/README.md
@@ -31,8 +31,24 @@ It will generate random test according to the `-Wformat` flag of gcc.
- `> python3 generate.py -n [number of tests]`: generate n test
- `> python3 generate.py -h`: show all available options
+## Memory leaks check
+
+You have to install [valgrind](http://valgrind.org/) with [brew](https://brew.sh/),
+[here](https://stackoverflow.com/questions/35775102) is a nice thread to install it
+locally if you don't have root access. You can then run `> brew install valgrind`.
+
+- `> make check_leaks`: run valgrind on a test (without the test themself).
+- `> make check_leaks_verbose`: add `--leak-check=full` to valgrind.
+
## Pro tips
This doesnt handle timeout, so if your `ft_printf` goes in an infinite loop,
this test will too.
`Ctrl-C` is your best friend.
+
+## Credits
+
+- [moulitest](https://github.com/yyang42/moulitest) by yyang42
+- [pft](https://github.com/gavinfielder/pft) by gavinfielder
+- [printf\_tester](https://github.com/AntoineBourin/printf-tester) by AntoineBourin
+- [printf\_tests](https://github.com/BartMassey/printf-tests) by BartMassey