What is the purpose of unit test?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What is the purpose of unit test?

1,518 次查看
kangmw086
Contributor III

hi

i used imx6q.

 

What is the purpose of unit test?

 

PATH = /unint_test/V4L2

mxc_v4l2_capture.out

mxc_v4l2_output.out

mxc_v4l2_overlay.out

mxc_v4l2_still.out

What is the purpose of each?

 

thank you.

 

 

0 项奖励
6 回复数

1,512 次查看
igorpadykov
NXP Employee
NXP Employee

Hi

 

unit tests are simple tests for various i.MX modules, can be used for example for

testing custom hardware (camera, lcd, e.t.c.). Sources and description of usage can be found on:

https://source.codeaurora.org/external/imx/imx-test/tree/?h=lf-5.10.y_2.0.0

 

Best regards
igor

0 项奖励

1,503 次查看
kangmw086
Contributor III

Thank you for your reply.

But the answer I want to get is...

mxc_v4l2_capture.out, mxc_v4l2_output.out, mxc_v4l2_overlay.out, mxc_v4l2_still.out

 

I want to know what 4 execute file each do.

For example, 

mxc_v4l2_capture.out -> camera capture?

mxc_v4l2_output.out -> camera preview?

 

thank you.

0 项奖励

1,497 次查看
igorpadykov
NXP Employee
NXP Employee

one can look in documentation (README, ../doc) in

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test?h=lf-5.10.y_2.0.0

 

Best regards
igor

0 项奖励

1,486 次查看
kangmw086
Contributor III

Could you provide me with another source code to test the camera?

There was no answer to my question, so please check it.

 

https://community.nxp.com/t5/i-MX-Processors/I-MX-qtapplication-source-code-question/td-p/1303460

 

regards!

0 项奖励

1,474 次查看
igorpadykov
NXP Employee
NXP Employee

>Could you provide me with another source code to test the camera?

 

also one can try baremetal sdk test (1.1.0_iMX6_Platform_SDK.zip) from link

https://community.nxp.com/t5/i-MX-Processors/SMP-Enable-in-IMX6/m-p/542111

 

Best regards
igor

0 项奖励

1,461 次查看
kangmw086
Contributor III

Thank you for giving me the SDK test code.

Can you provide me with the application code made of QT?

I've run the qcamera example, but the UI doesn't appear.

I would like to download the IMX-QTAPPLICATION source code included in YOCTO(x11). 

--> imxcamera application.

This software is available in bin files only. Can you provide me with the source code?

 

thank you.

0 项奖励