Fix --produce_manifest flag in validate_failures.py.
commitd8364a0851339bd27a949204712d09a5967e93e2
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jul 2012 14:35:18 +0000 (19 14:35 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jul 2012 14:35:18 +0000 (19 14:35 +0000)
tree4a70bce2b2fe2426062cd251190386021f731bf3
parentd244d9de1519a228c963cc2e70b29e842aee2ace
Fix --produce_manifest flag in validate_failures.py.

When I added the functionality to use other summary files for
reporting, I broke the generation of manifests. When sum files are
passed on, we need to use the list. Otherwise, we need to find summary
files in the build directory.

This patch factors out that logic into a new function and calls it
from both the reporting and generation routines.

Committed to trunk.

* testsuite-management/validate_failures.py (CollectSumFiles):
Rename from GetSumFiles.
(GetSumFiles): Factor out of CheckExpectedResults.
(CheckExpectedResults): Call it.
(ProduceManifest): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189662 138bc75d-0d04-0410-961f-82ee72b054a4
contrib/ChangeLog
contrib/testsuite-management/validate_failures.py