By default the book(s) normal only have only the basics about running
make test or
make check. if you would like to create a better way of tracking errors in tests for packages here's a suggestion when running the make check/tests commands.
Code:
make -j8 check 2>&1 | tee /tmp/<package_name>.log
Using this and similar commands for
make tests and other check command directs errors into a logfile as well as output to the terminal. The -j* command is there only to help speed things up considerably.
Plus if you stumble on some serious errors you can submit the logs back to the upstream to help them out.
Alternatively, if you want all the stdout and stderr readouts to go to a log file rather than both the terminal and the log pass this command instead:
Code:
make -j8 check &> /tmp/<package-name>-check-log
This will direct ALL output from the check to the log file. This is useful when some checks put out too much output that can crash the terminal, such as the vim package.