get_i2c_slave_addr.sh: Change default values for am37x-evm
am37x-evm has a unused i2c slave device on bus 3, address 0x5d.
This patch changes the default bus and slave address for am37x-evm
Signed-Off-By: Carlos Hernandez <c-hernandez8@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
am37x-evm has a unused i2c slave device on bus 3, address 0x5d.
This patch changes the default bus and slave address for am37x-evm
Signed-Off-By: Carlos Hernandez <c-hernandez8@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Modified scripts to skip formatting card so that the test would not format the SD card used for booting.
MC: Video capture media controller test for omap
Signed-off-by: Vaidya, Deepti <deepti.vaidya@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Vaidya, Deepti <deepti.vaidya@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add install_modules before running nand, mmc, spi testcases
Getting mtd partition number dynamically instead of using user defined number
Fix umount problem in blk_device_erase_format script
Added scenario files for NOR
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Change file size to half when run copy file test to avoid out of space problem
Fix bug in runltp
Added install module script to modprobe module if it built as module; exit if the module is already built in
Return 1 when test case fail instead of return the return value of ltp-pan
12 years agorenamed ltp-ddt/testcases/ddt/edma_test_suite/src/kernel/interface/ti84x-evm to am387...
renamed ltp-ddt/testcases/ddt/edma_test_suite/src/kernel/interface/ti84x-evm to am387x-evm
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Changed buffer sizes for filesystem performance tests
Added ethernet with interrupt pacing enable test cases
Delete result log so new test run will have new test log
Added Media Controller video capture tests for dm365
Signed-off-by: Vaidya, Deepti <deepti.vaidya@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Vaidya, Deepti <deepti.vaidya@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Amixer settings added for am387x-evm/am389x-evm Signed-off-by: Badarinarayan I Joshi <x0091692@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
12 years agoModified filesystem test suite src codes to measure write/read performance more accur...
Modified filesystem test suite src codes to measure write/read performance more accurately
Added nand and spi mtd partition number for am387x
12 years agoModified filesystem testsuite and script to write random data to device; Added comman...
Modified filesystem testsuite and script to write random data to device; Added command to drop cached buffer
Merge branch 'master' into next
Conflicts:
testcases/ddt/Makefile
Conflicts:
testcases/ddt/Makefile
platforms/beagleboard
Added eth/100M to highlight ethernet support on beagle
Added eth/100M to highlight ethernet support on beagle
Disable v4l2_davinci_display tests
v4l2_davinci_display tests don't compile for some platforms.
Compilation should be selectively enabled only for applicable
platforms.
v4l2_davinci_display tests don't compile for some platforms.
Compilation should be selectively enabled only for applicable
platforms.
Avoid compilation of video test suites on unsupported platforms
Exclude video test suites from compilation on platforms
where video tests are still not supported
Exclude video test suites from compilation on platforms
where video tests are still not supported
Merge branch 'master' into next
Avoid compilation of video test suites on unsupported platforms
Exclude video test suites from compilation on platforms
where video tests are still not supported
Exclude video test suites from compilation on platforms
where video tests are still not supported
Added v4l2 display test case for davinci
Signed-off-by: Vaidya, Deepti <deepti.vaidya@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Vaidya, Deepti <deepti.vaidya@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Merge branch 'master' into next
runtest/ddt/eth_iperf_udp: Increase test time from 20sec to 60secs
Added video capture media controller mmap loopback tests
Signed-off-by: Vaidya, Deepti <deepti.vaidya@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Vaidya, Deepti <deepti.vaidya@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Added new testlogic scripts (testcases/ddt/scripts) and testcaes (runtest/ddt) for usb_host_hid (keyboard,mouse) and usb_host_audio and Modified DM368 Platform file
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Added cyclictest cases for realtime testing
runtest/ddt/v4l2_disp: Duplicate testcase tags
9 crop test cases have the duplicate testcase tags.
Added more info to the testcases' tag to make them unique.
Signed-off-by: Yan Liu <yan-liu@ti.com>
9 crop test cases have the duplicate testcase tags.
Added more info to the testcases' tag to make them unique.
Signed-off-by: Yan Liu <yan-liu@ti.com>
Deleted unwanted scenario file
Modified tags in scenarios files to make them unique
Added beagle board support for alsa test
12 years agoAdd @setup_requires annotation to specify test setup requirements Specify @setup_requ...
Add @setup_requires annotation to specify test setup requirements Specify @setup_requires values for mmc, sd, sdhc, sata and usb tests
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Added more information to easy debug
Fix error in alsa_test_suite's Makefile to allow building from Arago. Removed from installation top-level scripts not used.
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Remove installation of top level scripts not used
Add support for conditional variable in ALSA Tests' Makefile
Fix build process for alsa_test_suite.
Makefile now supports both build flows (manuall and Arago/OE based)
Makefile now supports both build flows (manuall and Arago/OE based)
Added new MMC relalted test scenario into default-ddt
Added seperate tests for sd, mmc and sdhc; Modified all platforms files to reflect this change
Minor README-DDT updates
12 years ago1.Added little bit delay (5 sec ) after insertion and after deletion of kernel module...
1.Added little bit delay (5 sec ) after insertion and after deletion of kernel modules 2.Added protection code for checking if moudle is already in,then skip the insmod operation
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Added other davinci family platforms into Makefile
Added graphic entry in platform file
Added new tests into default-ddt;fixed bugs in get part size script
Modified am3517-evm, am37x-evm and omap3evm platform files and added DM365, DM368 and DM6467 platform files.
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Updated README-DDT for ALSA lib and include path
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Fixed get_eth_iface script to return only the first eth iface
Modified platform names to be consistent with machine names
Added EDMA sanity tests
Signed-off-by: naresh <naresh@ti.com>
Added EDMA sanity tests
Combined AYSNC and ABSYNC scenarios
Added @requires edma instead for @requires <platforms>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
Added EDMA sanity tests
Combined AYSNC and ABSYNC scenarios
Added @requires edma instead for @requires <platforms>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Modified makefiles for including platform while compiling
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Changed the @requires as per the template for capture and display
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Fixed eth get iface bug; added slave addr for am35x
Modified SPI partition number for new kernel 2.6.37
Modified I2c related files so that non-eeprom slave can be tested
Modified parserfor fbdev
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
12 years agoAdded support for omapl138 in alsa_amixer_switchtoggle.sh and alsa_amixer_volumesetti...
Added support for omapl138 in alsa_amixer_switchtoggle.sh and alsa_amixer_volumesetting.sh
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Added more scenarios in the default-ddt
Modified scenario template and scenario files for easy debug
Added protection code to check if nand test is really running on nand partition and spi test is not running on nand partition
Added 3 UDP test cases for bandwidth 50M in .ltp-ddt/runtest/ddt/eth_iperf_udp.
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
common: return non-zero error value on when inverted
* Even when the error return from the command being executed is
inverted the do_cmd function should still return a non-zero
error status. That way anyone calling this will be able to
use non-zero return value to indicate an error.
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
* Even when the error return from the command being executed is
inverted the do_cmd function should still return a non-zero
error status. That way anyone calling this will be able to
use non-zero return value to indicate an error.
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding EDMA LINK ASYNC scenario file
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests EDMA LINK ASYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests EDMA LINK ASYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding EDMA LINK ABYSNC scenario file
Signed-off-by: naresh <naresh@ti.com>
This scenario file test EDMA LINK ABYSNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
This scenario file test EDMA LINK ABYSNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding EDMA CHAIN ASYNC scenario file
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests EDMA CHAIN ASYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests EDMA CHAIN ASYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding EDMA CHAIN ABSYNC scenario file
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests EDMA CHAIN ABSYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests EDMA CHAIN ABSYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding EDMA ASYNC scenario file
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests the EDMA ASYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests the EDMA ASYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding scenario file for EDMA ABSYNC mode
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests the EDMA ABSYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
This scenario file tests the EDMA ABSYNC mode
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding EDMA test script
Signed-off-by: naresh <naresh@ti.com>
This test script test the EDMA driver options normal,linking
and chaining transfers with various acnt, bcnt,ccnt values
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
This test script test the EDMA driver options normal,linking
and chaining transfers with various acnt, bcnt,ccnt values
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding EDMA user application
Signed-off-by: naresh <naresh@ti.com>
edma_tests applicaton provides user interface with various options
like edma aysnc, edma abysnc, edma link async, edma link abysnc,
edma chain async, edma chain absync to test the edma driver
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
edma_tests applicaton provides user interface with various options
like edma aysnc, edma abysnc, edma link async, edma link abysnc,
edma chain async, edma chain absync to test the edma driver
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding EDMA test suite kernel module
Signed-off-by: naresh <naresh@ti.com>
EDMA test suite consists of an kernel module edma_test.ko which
exposes the EDMA module to user space by registering as a linux
misc device so that the the EDMA module can be tested through
user space application
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: naresh <naresh@ti.com>
EDMA test suite consists of an kernel module edma_test.ko which
exposes the EDMA module to user space by registering as a linux
misc device so that the the EDMA module can be tested through
user space application
Signed-off-by: Yan Liu <yan-liu@ti.com>
Modified test cases to minimize Sanity cases Added omapl138 platform
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Added V4L2 display testsuite
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Added am389x for I2C test and fixed I2C script bug
ALSA Test Suite ALSA aplay, arecord, speaker-test ALSA Modular testa ALSA amixer settings
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
ALSA Performance cases for capture and playback
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
12 years agoAdded patch for kill the iperf server after exection of Test case in eth_udp_test_DUT...
Added patch for kill the iperf server after exection of Test case in eth_udp_test_DUTtoPC.sh
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Modified scenarios based on sanity tests
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Added lpthread in makefile
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding SATA test script and test cases
\Add FBDEV testsuite
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding standard platforms names in README-DDT; Modify existing platform files based on template; Add am389x-evm file.
Add V4L2 Capture test suite Signed-off-by: Deepti V <deepti@linux-psp-server.india.ext.ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
12 years agoModifying bunch of scripts and scenario files include eth_tcp, eth_udp, rtc, filesyst...
Modifying bunch of scripts and scenario files include eth_tcp, eth_udp, rtc, filesystem, etc.
Adding I2C etc test scripts and test cases; Adding default-ddt scenario group
Combining existing test cases
Define platforms/TEMPLATE file
The platforms/TEMPLATE is used to communicate set of features
supported by the platform. Read README-DDT for details.
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
The platforms/TEMPLATE is used to communicate set of features
supported by the platform. Read README-DDT for details.
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
check_app: add script to check application execution
* This script can be used to check any given application for:
* Existence in the standard PATH
* Execution without error
* The specified application can contain parameters as well as
long as the whole command to be run is contained within
quotation marks (")
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
* This script can be used to check any given application for:
* Existence in the standard PATH
* Execution without error
* The specified application can contain parameters as well as
long as the whole command to be run is contained within
quotation marks (")
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
common: add check_mandatory_inputs function
* Added a function that takes a list of variables that must
be given as inputs and makes sure that a value is assigned
to them.
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
* Added a function that takes a list of variables that must
be given as inputs and makes sure that a value is assigned
to them.
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
common: add support for inverted_return
* Add support in the do_command function to check the value
of inverted_return to allow properly handling applications
with non-zero return values on success.
* Make the default value of inverted_return be "false"
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
* Add support in the do_command function to check the value
of inverted_return to allow properly handling applications
with non-zero return values on success.
* Make the default value of inverted_return be "false"
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
TEMPLATE: update template script file
* Do not source st_log.sh since that is already sourced by
the common.sh script.
* Add a section for definint script variables and their defaults.
* This was done because the : ${VAR:='val'} notation is
harder to read and on default editor color settings shows
up as a comment line so it is easy to miss.
* Added a note about setting inverted_return to "true" to change
the behavior of do_cmd
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
* Do not source st_log.sh since that is already sourced by
the common.sh script.
* Add a section for definint script variables and their defaults.
* This was done because the : ${VAR:='val'} notation is
harder to read and on default editor color settings shows
up as a comment line so it is easy to miss.
* Added a note about setting inverted_return to "true" to change
the behavior of do_cmd
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Carlos Hernandez <c-hernandez8@ti.com>
Fixed problem with LDFLAGS
Fix build problem with LDFLAGS
Added ethernet tests (ping and iperf)
Adding RTC test suite and test cases and refactory modular tests
Remove python execltp reference from Makefile