Tester for the libasm project of 42school (macOS and Linux only); features include checking malloc sizes and errno values.
Clone this tester in your libasm repository:
git clone git@github.com:Tripouille/libasmTester.git && echo "libasmTester" >> .gitignore
make
= alias to make a
make m
= launch mandatory tests
make b
= launch bonus tests
make a
= launch mandatory tests + bonus tests
make vm
= launch mandatory tests with valgrind
make vb
= launch bonus tests with valgrind
make va
= launch mandatory tests + bonus tests with valgrind
make [function name]
= launch associated test (ex: make strlen
)
make v[function name]
= launch associated test with valgrind (ex: make vstrlen
)
make vs[function name]
= open the corresponding tests in vscode (ex: make vsstrlen
)
make vi[function name]
= open the corresponding tests in vi (ex: make vistrlen
)
Warning
For rigorous testing, you should run all your tests with Valgrind.
MOK
/ MKO
= test about your malloc size
ERRNOOK
/ ERRNOKO
= test about errno value
Contact me on slack or discord : jgambard