Skip to content
Snippets Groups Projects
Commit cf76a82b authored by Jonas Höppner's avatar Jonas Höppner Committed by Norman Stetter
Browse files

ltp-guf-test: adapt neso-lt test file (refs #39953)

Change-Id: I716a3423e0a198ad7c0f8b96c796c37a657eaa45
parent c0de4296
No related branches found
No related tags found
Loading
#DESCRIPTION: NESO-LT Platform Tests
#---------------------------------------
Backlight backlight
RTC rtccheck -v 2010.09.01-12:19 -d 10
RS485_pingpong rs485pingpong -d /dev/ttymxc2 -b 8 -r 100
MMC_fs_fat32 mmc -t vfat
MMC_write_10MB (mount | grep mnt/mmc && fwrite -n /mnt/mmc/file1M -b 1048576 -i 10)
USB_host mstick -n 1
USB_stick_write_10MB (mount | grep mnt/mstick1 && fwrite -n /mnt/mstick1/file1M -b 1048576 -i 10)
\ No newline at end of file
#-----------------------------------------------------------------------------#
# DESCRIPTION #
# ----------- #
# This is a configuration file for the Garz & Fricke Built-In-Test Framework, #
# which is implemented using tests from the LTP. Thus, the configuration file #
# looks very similar to LTP configuration files and can actually be used by #
# LTP. However, it should not, since there are slight differences: #
# This file is divided into three sections: PREPARATION, TESTCASES and #
# CLEANUP. Each section contains lines beginning with a name and ending with #
# a command line. The command lines of the PREPARATION section are executed #
# once at the start of the execution. Then, the command lines of the TEST- #
# CASES section is looped for the given number of iterations. At the end, the #
# commands of the CLEANUP section are run once. #
#
# sconfig serialdiag off
# und
# console= aus der Kernelcommandline muss weg
# fi lo kernel;exec -c "ubi.mtd=rootfs root=ubi0:root rootfstype=ubifs otg_host_enabled=1"
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# PREPARATION #
#-----------------------------------------------------------------------------#
BouncingBall bball_sdl -s 10 &
#Touchtest ts_test &
Stop_Guf_Demo /etc/init.d/qt4-guf-demo stop || true
MMC_umount for i in `mount | grep mmcblk0 | awk '{print $1}'`; do umount $i; done
SDX_umount for i in `mount | grep "/dev/sd" | awk '{print $1}'`; do umount $i; done
Touchtest_remove_socket rm -f /touch_tst_socket
Touchtest_start /opt/ltp/testcases/bin/touchmon -d -i /dev/input/event0 -s /touch_tst_socket -p 0
#-----------------------------------------------------------------------------#
# TESTCASES #
#-----------------------------------------------------------------------------#
GPI_KEY3 gpio_inout -o keypad_pin3 -g keypad_pin4
GPI_KEY5 gpio_inout -o keypad_pin5 -g keypad_pin6
GPI_KEY7 gpio_inout -o keypad_pin7 -g keypad_pin8
GPI_KEY9 gpio_inout -o keypad_pin9 -g keypad_pin10
GPI_KEY11 gpio_inout -o keypad_pin11 -g keypad_pin12
GPI_KEY13 gpio_inout -o keypad_pin13 -g keypad_pin14
GPI_KEY15 gpio_inout -o keypad_pin15 -g keypad_pin16
GPI_KEY17 gpio_inout -o keypad_pin17 -g keypad_pin18
Play_wave_file audio
GPIO_DIO gpio -g dio_out -d out -v 1 -t 200
Serial0 serial -d /dev/ttymxc0 -q -b 115200 -c 5 -s 1024 -o 300
RS4854 serial -d /dev/ttymxc2 -q -b 115200 -c 5 -s 1024 -o 300
Touch touchmon -z -r /touch_tst_socket
Network iptest -q -g 192.168.1.100 -n 1 -w 50
MMC_write_25kB bwrite -n /dev/mmcblk0 -b 25000 -i 1
Flash_write_25kB fwrite -n /file25k -b 25000 -i 1
USB_stick_1_write_25kB bwrite -n /dev/sda -b 25000 -d -i 1
USB_stick_2_write_25kB bwrite -n /dev/sdb -b 25000 -d -i 1
#-----------------------------------------------------------------------------#
# CLEANUP #
#-----------------------------------------------------------------------------#
Touchtest_stop killall touchmon
BouncingBall_stop killall -INT bball_sdl
#Touchtest_stop killall ts_test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment