To build and run the tests, simply run make check. If the build succeeds, the tests will run automatically.
make check