The Autotest-based test suite produces as output a file tests/testsuite.log that contains information about failed tests.
You can pass options to the test suite through the make variable
TESTSUITEFLAGS (see Making testsuite Scripts in The Autoconf Manual).