Add test target to the Makefile, and also automatically run tests
in the dist target. Current test results:
Run tests in /home/claudio/figlet/figlet
_____ _ _ _
|_ _|__ __| |_ _ _ ___ ____ _| | |_ ___
| |/ -_|_-< _| | '_/ -_|_-< || | | _(_-<
|_|\___/__/\__| |_| \___/__/\_,_|_|\__/__/
Run test 001: showfigfonts output... pass
Run test 002: text rendering in all fonts... pass
Run test 003: long text rendering... pass
Run test 004: left-to-right text... pass
Run test 005: right-to-left text... pass
Run test 006: flush-left justification... pass
Run test 007: flush-right justification... pass
Run test 008: center justification... pass
Run test 009: kerning mode... pass
Run test 010: full width mode... pass
Run test 011: overlap mode... pass
Run test 012: TLF font rendering... pass
Run test 013: kerning flush-left right-to-left mode... pass
Run test 014: kerning centered right-to-left mode (slant)... pass
Run test 015: full-width flush-right right-to-left mode... pass
Run test 016: overlap flush-right mode (big)... pass
All tests passed.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>