Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gf-emc-test-suite
Manage
Activity
Members
Labels
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SECO Northern Europe
Tools
gf-emc-test-suite
Commits
cf76a82b
Commit
cf76a82b
authored
6 years ago
by
Jonas Höppner
Committed by
Norman Stetter
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ltp-guf-test: adapt neso-lt test file (refs #39953)
Change-Id: I716a3423e0a198ad7c0f8b96c796c37a657eaa45
parent
c0de4296
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runtest/neso-lt
+64
-9
64 additions, 9 deletions
runtest/neso-lt
with
64 additions
and
9 deletions
runtest/neso-lt
+
64
−
9
View file @
cf76a82b
#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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment