⚠️ Important note: this version targets the new 42 subject ofprintf
, if you want to use the old one you can access it on the old branch.
clone or download this repo and place it in the parent folder of your ft_printf dir.
you can configure the path of your printf with the var PRINTFDIR in the Makefile
make f
or ./run_test
./run_test <options> <converters>
-e: stop to the first error / segfault
-q: disable errer/segv/timeout output
-r: disable speed test
-d: debug mode
-h: display help
-f <fname>: output in the specified file
this is a brute-force based test for printf, it will check all compilable (with -Wformat flag) printf converters and flags.
supported converters: idDoOuUxXcCsSpaAeEfFgG
supported modifiers: ".#0-+ "
current number of tested formats: 3.4M (without float converters)