test: always report missing prereqs, independent of `--verbose' option

When tests are skipped due to missing prereqs, those prereqs are only
displayed when running with the `--verbose' option.  This is essential
information when troubleshooting, so always send to stdout.
This commit is contained in:
Pieter Praet 2012-01-18 13:19:41 +01:00 committed by David Bremner
parent 311e8f6c45
commit e3fb62f59b

View file

@ -702,8 +702,8 @@ test_skip () {
test_check_missing_external_prereqs_ () { test_check_missing_external_prereqs_ () {
if test -n "$test_subtest_missing_external_prereqs_"; then if test -n "$test_subtest_missing_external_prereqs_"; then
say_color skip >&3 "missing prerequisites:" say_color skip >&1 "missing prerequisites:"
echo "$test_subtest_missing_external_prereqs_" >&3 echo "$test_subtest_missing_external_prereqs_" >&1
test_report_skip_ "$@" test_report_skip_ "$@"
else else
false false