diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-02-23 21:19:44 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-02-23 21:19:44 +0000 |
commit | b67f5875214b5d0d6a3a5ba4d527f46c3fe58f22 (patch) | |
tree | a437413f09dc547e506a5745b4a3ae6b490911bf /test/test-backend.sh | |
parent | bc5a86f98ca3ba8424ff241630ec61e13f11b539 (diff) |
Add some debug info to help in diagnosing buildbot 'run tests' failures
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24447 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'test/test-backend.sh')
-rwxr-xr-x | test/test-backend.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/test-backend.sh b/test/test-backend.sh index 49762a724d..324a49d153 100755 --- a/test/test-backend.sh +++ b/test/test-backend.sh @@ -322,3 +322,23 @@ test_step_skipped() { $color_reset } +test_step_output_print() { + wait + printf "\n" + for f in "$@"; do + if [[ -f "$f" ]]; then + printf " --> $f\n" + cat "$f" + printf " <--\n" + else + printf " --> $f: doesn't exist (or isn't a file)\n" + fi + done +} + +## Emacs +## Local Variables: +## tab-width: 8 +## indent-tabs-mode: t +## sh-basic-offset: 8 +## End: |