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 -- 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