What is the purpose of unit test?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the purpose of unit test?

1,435 Views
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 Kudos
6 Replies

1,429 Views
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 Kudos

1,420 Views
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 Kudos

1,414 Views
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 Kudos

1,403 Views
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 Kudos

1,391 Views
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 Kudos

1,378 Views
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 Kudos