Commit Graph

3 Commits

Author SHA1 Message Date
Mauro Carvalho Chehab
d67faf8ea6 test/test_python.py: make it a little more generic
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>
2019-05-12 09:13:23 -03:00
Mauro Carvalho Chehab
052546f64f test_python.py: make it run properly with python 3
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>
2019-05-10 17:34:21 -03:00
Mauro Carvalho Chehab
03210cd086 Add a simple python bindings test script
This script checks if the python bindings is working.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-10 10:33:20 -03:00