Change the script to be used either by printing the decoded
var or check. The behavior depends on having just one argument
(the image) or two: image and expected answer.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
There is one small mistake at parameter handling with
prevents it to work with python 3.
While here, pass parameters using key-value pairs.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>