Re: [Autotest] [KVM-AUTOTEST PATCH 2/2] KVM test: warn about corrupt PPM files after each test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch series applied, thanks!

On Wed, Dec 23, 2009 at 2:32 PM, Michael Goldish <mgoldish@xxxxxxxxxx> wrote:
> Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx>
> ---
>  client/tests/kvm/kvm_preprocessing.py |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/client/tests/kvm/kvm_preprocessing.py b/client/tests/kvm/kvm_preprocessing.py
> index 5bae2bd..4e45c76 100644
> --- a/client/tests/kvm/kvm_preprocessing.py
> +++ b/client/tests/kvm/kvm_preprocessing.py
> @@ -270,6 +270,11 @@ def postprocess(test, params, env):
>     """
>     process(test, params, env, postprocess_image, postprocess_vm)
>
> +    # Warn about corrupt PPM files
> +    for f in glob.glob(os.path.join(test.debugdir, "*.ppm")):
> +        if not ppm_utils.image_verify_ppm_file(f):
> +            logging.warn("Found corrupt PPM file: %s", f)
> +
>     # Should we convert PPM files to PNG format?
>     if params.get("convert_ppm_files_to_png") == "yes":
>         logging.debug("'convert_ppm_files_to_png' specified; converting PPM"
> --
> 1.5.4.1
>
> _______________________________________________
> Autotest mailing list
> Autotest@xxxxxxxxxxxxxxx
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>



-- 
Lucas
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux