Log also when the image is supported.
In both cases (supported/unsupported), log also the name of the image.
Change-Id: I3fde2a5525078810f4c65a5f916e3145b1d127d7
logging.info("Verifying testability of image {0}.".format(image))
subprocess.check_output(command)
except subprocess.CalledProcessError:
+ logging.info("Image {0} not supported by the tester.".format(image))
return False
+ logging.info("Image {0} supported by the tester.".format(image))
return True
def propagate_results(fields, image):
return 0
if not image_supported(file_name):
- logging.info("Image not supported by the tester.")
fields["test_result"] = "IMAGE_NOT_SUPPORTED"
propagate_results(image=file_name, fields=fields)
return 0