Support finding minidumps located deeper in the test results tree.

BUG=chromium-os:21383
TEST=Manual run of cros_generate_stacks_bvt against a test result that
has a minidump buried 6 levels deep

Change-Id: Iebb24f02d086c24feaae47603460ec83ded15800
Reviewed-on: http://gerrit.chromium.org/gerrit/8924
Tested-by: Thieu Le <thieule@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Ready: Thieu Le <thieule@chromium.org>
This commit is contained in:
Thieu Le 2011-10-06 15:49:36 -07:00 committed by Gerrit
parent 056c3f53bd
commit 8bfc4b5247

View File

@ -58,7 +58,7 @@ function cleanup() {
trap cleanup INT TERM EXIT
info "Downloading minidumps from $2..."
wget -q -nv -r -np -A "*.dmp" -P "${OUTPUT_DIR}" $2
wget -q -nv -r -l 10 -np -A "*.dmp" -P "${OUTPUT_DIR}" $2
if [[ -z "$(find "${OUTPUT_DIR}" -name "*.dmp")" ]] ; then
die "No minidumps found"
fi