| | 1 | [[PageOutline]] |
| | 2 | |
| | 3 | = Freescale Unit Tests = |
| | 4 | Freescale has setup some unit tests that can be found on the Yocto BSP. |
| | 5 | |
| | 6 | == Building the Package == |
| | 7 | The package is installed by default in our gateworks-gui-image however if you want to install it manually the package is imx-test (eg imx-test_12.09.01-r7.0_ventana.ipk) The versions differ per Yocto BSP release. |
| | 8 | |
| | 9 | These can be compiled with a: |
| | 10 | {{{ |
| | 11 | bitbake imx-test |
| | 12 | }}} |
| | 13 | |
| | 14 | |
| | 15 | == Usage == |
| | 16 | Once the imx-test*.ipk is installed on the target board you will find the tests located under the '''/unit-tests''' directory. |
| | 17 | |
| | 18 | Below is a listing of the tests: |
| | 19 | {{{ |
| | 20 | root@ventana:/unit_tests# ls |
| | 21 | akiyo.mp4 ipudev_config_file |
| | 22 | ar3k-bt-start.sh key_slot_tests.sh |
| | 23 | audio8k16S.wav memtool |
| | 24 | autorun-asrc.sh mxc_asrc_test.out |
| | 25 | autorun-ata.sh mxc_epdc_fb_test.out |
| | 26 | autorun-fb.sh mxc_fb_test.out |
| | 27 | autorun-firi.sh mxc_i2c_slave_test.out |
| | 28 | autorun-ipu.sh mxc_i2c_test.out |
| | 29 | autorun-keypad.sh mxc_i2c_test_magna_cam.out |
| | 30 | autorun-mmc-blockrw.sh mxc_i2c_test_samsung_cam.out |
| | 31 | autorun-mmc-fdisk.sh mxc_i2c_test_usb.out |
| | 32 | autorun-mmc-fs.sh mxc_iim_test.out |
| | 33 | autorun-mmc-mkfs.sh mxc_ipudev_test.out |
| | 34 | autorun-mmc.sh mxc_irlan_test.sh |
| | 35 | autorun-mxc_uart.sh mxc_isl29023.out |
| | 36 | autorun-oprofile.sh mxc_keyb_test.sh |
| | 37 | autorun-owire.sh mxc_l2switch_test.out |
| | 38 | autorun-pf.sh mxc_mlb_test.out |
| | 39 | autorun-pxp.sh mxc_pf_test.out |
| | 40 | autorun-rtc.sh mxc_sdma_test.out |
| | 41 | autorun-scc.sh mxc_spdc_fb_test.out |
| | 42 | autorun-sound.sh mxc_spi_test1.out |
| | 43 | autorun-usb-gadget.sh mxc_tuner_test.out |
| | 44 | autorun-usb-host.sh mxc_tuner_test.sh |
| | 45 | autorun-v4l2.sh mxc_tve_test.sh |
| | 46 | autorun-vpu.sh mxc_uart_test.out |
| | 47 | autorun-wdog.sh mxc_uart_xmit_test.out |
| | 48 | check_2w1r.out mxc_v4l2_capture.out |
| | 49 | check_audio.out mxc_v4l2_output.out |
| | 50 | check_ioctls.out mxc_v4l2_overlay.out |
| | 51 | check_minor_open.out mxc_v4l2_still.out |
| | 52 | check_mixer.out mxc_v4l2_tvin.out |
| | 53 | check_recording.out mxc_vpu_test.out |
| | 54 | check_synchronization.out pxp_test.out |
| | 55 | check_volume2.out rtc_timesetnotification_test.out |
| | 56 | clocks.sh rtctest.out |
| | 57 | config_dec rtcwakeup.out |
| | 58 | config_enc scc_setup.sh |
| | 59 | config_encdec scc_test |
| | 60 | config_net stefan_interlaced_320x240_5frames.yv12 |
| | 61 | dryice.sh suspend_quick_auto.sh |
| | 62 | dump-clocks-dot.sh suspend_random_auto.sh |
| | 63 | dump-clocks.sh test-utils.sh |
| | 64 | encrypt_decrypt_tests.sh test_subs.sh |
| | 65 | fail_mode_tests.sh wall-1024x768-565.rgb |
| | 66 | gpu.sh wdt_driver_test.out |
| | 67 | hciattach-ar3k.bin |
| | 68 | }}} |