Update to newest version of git.mk
Use Automake's test driver

Instead of the custom check-local target we had before, use Automake's
test driver.