]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/ltp-ddt.git/log
glsdk/ltp-ddt.git
9 years agoALSA: AMIXER: Add dra7xx machine settings glsdk_6.10
Charulatha Varadarajan [Mon, 14 Jul 2014 06:19:05 +0000 (11:49 +0530)]
ALSA: AMIXER: Add dra7xx machine settings

Add dra7xx machine settings to amixer

Signed-off-by: Charulatha Varadarajan <charu@ti.com>
9 years agoProcess: Correct the process priority check
Ravikumar Kattekola [Tue, 17 Jun 2014 14:31:14 +0000 (20:01 +0530)]
Process: Correct the process priority check

Corrected the priority check in run_processsess.sh script.

9 years agoddt: powermgr: cpufreq: adding POWERMGR_M_FUNC_CPUFREQ_BASIC test case
Ravi Babu [Mon, 16 Jun 2014 09:40:59 +0000 (15:10 +0530)]
ddt: powermgr: cpufreq: adding POWERMGR_M_FUNC_CPUFREQ_BASIC test case

Adding POWERMGR_M_FUNC_CPUFREQ_BASIC test case which is required for
usb sytem level test case SYSTEM_L_FUNC_OPP_USBXHCI_MSC

Signed-off-by: Ravi Babu <ravibabu@ti.com>
9 years agoddt: usbhost_video: adding missing usb video test case for xhci
Ravi Babu [Mon, 16 Jun 2014 09:36:27 +0000 (15:06 +0530)]
ddt: usbhost_video: adding missing usb video test case for xhci

Adding USBXHCIHOST_M_FUNC_VIDEO_640_480 video test case which is
requried for usb system level test case

Signed-off-by: Ravi Babu <ravibabu@ti.com>
10 years agoConfigure Rec_device and Playback_device for OMAP5 glsdk
Ravikumar Kattekola [Tue, 15 Apr 2014 12:17:04 +0000 (17:47 +0530)]
Configure Rec_device and Playback_device for OMAP5

The default rec and play device for Omap 5 is configured as hw:0,0
which is wrong it can be either 1,0 or 2,0 so read the /proc/asound/cards
to find the correct id and use it.

10 years agoALSA: Correct device id (hw) and sample format for omap5
Ravikumar Kattekola [Mon, 14 Apr 2014 10:41:54 +0000 (16:11 +0530)]
ALSA: Correct device id (hw) and sample format for omap5

Find out device id (hw) parameter for Audio device(pandaboard)
at runtime from /proc/asounds/cards, use this in amixer settings
Also omap5 driver supports S32 format only so use S32 as default value

10 years agov4l2_cap_func: Update scenario file
Nikhil Devshatwar [Mon, 14 Apr 2014 08:36:00 +0000 (14:06 +0530)]
v4l2_cap_func: Update scenario file

Use -dump for specifying the name of capture file
Do not pass display specific arguments

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
10 years agov4l2_cap: Dump captured content to a file instead of display
Nikhil Devshatwar [Wed, 9 Apr 2014 07:46:53 +0000 (13:16 +0530)]
v4l2_cap: Dump captured content to a file instead of display

v4l2_capture_tests is used to capture video frames from a V4L2 capture device
and display them to a V4L2 display device.

dra7xx platform doesn't have a V4L2 display device
This patch removes all the V4L2 display related calls from the test suite

Instead, now the frames are captured and saved in a file for viewing later.

A lot of capture related functions are still named after display
Proper cleanup is needed to fix all the naming and unused variables/functions

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
10 years agov4l2_cap: Enable v4l2_capture test suite for dra7xx
Nikhil Devshatwar [Tue, 18 Mar 2014 10:21:46 +0000 (15:51 +0530)]
v4l2_cap: Enable v4l2_capture test suite for dra7xx

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
10 years agoThermal: Use heat_cpu for cpu load instead of glmark2
Ravikumar Kattekola [Wed, 11 Dec 2013 09:13:37 +0000 (14:43 +0530)]
Thermal: Use heat_cpu for cpu load instead of glmark2

glmark2 port is not vailable for linux so use heat_cpu

Signed-off-by: Ravikumar Kattekola <rk@ti.com>
10 years agoALSA: Add amixer settings for omap5 and Dra7xx
Ravikumar Kattekola [Mon, 14 Apr 2014 05:47:22 +0000 (11:17 +0530)]
ALSA: Add amixer settings for omap5 and Dra7xx

Added Amixer settings for OMAP5 and DRA7xx

10 years agogpio_test_suite: Compile gpio_test_suite for dra7xx
Ravikumar Kattekola [Fri, 11 Apr 2014 08:51:50 +0000 (14:21 +0530)]
gpio_test_suite: Compile gpio_test_suite for dra7xx

Removed gpio_test_suite from FILTER_OUT_DIRS for dra7xx.

10 years agoSYSTEM: Correct the CPUFREQ testcase name
Ravikumar Kattekola [Fri, 11 Apr 2014 06:12:37 +0000 (11:42 +0530)]
SYSTEM: Correct the CPUFREQ testcase name

CPUFREQ Reliability testcase name changed from _L_ to _XL_
updated the same in SYSTEM testscripts.

10 years agoRemoved 'insmod' from the qspi performance test cases
vinothkumar [Thu, 10 Apr 2014 12:50:54 +0000 (18:20 +0530)]
Removed 'insmod' from the qspi performance test cases

On kernel3.8 spi-ti-qspi driver build as part of kernel.
Patched with kernel3.12 patches for module support but the
driver is very unstable.As a work around to test the static
qspi driver removed 'insmod' from the ltp qspi performance
test cases.

Signed-off-by: vinothkumar <vinothr@ti.com>
10 years agoRemoved 'insmod' from the qspi robustness test cases
vinothkumar [Wed, 9 Apr 2014 07:54:51 +0000 (13:24 +0530)]
Removed 'insmod' from the qspi robustness test cases

On kernel3.8 spi-ti-qspi driver build as part of kernel.
Tested with kernel3.12 patches for module support but the
platform driver is very unstable. To test the static qspi driver removed
'insmod' from the ltp qspi robustness test cases.

Signed-off-by: vinothkumar <vinothr@ti.com>
10 years agoRemoved 'insmod' from the qspi func test cases
vinothkumar [Tue, 8 Apr 2014 12:58:57 +0000 (18:28 +0530)]
Removed 'insmod' from the qspi func test cases

On kernel3.8 spi-ti-qspi driver build as part of kernel.
Tested with kernel3.12 patches for module support but the
platform driver is very unstable. To test the static qspi driver removed
'insmod' from the ltp qspi functional test cases.

Signed-off-by: vinothkumar <vinothr@ti.com>
10 years agoIncluded qspi func test cases in scenario_groups
vinothkumar [Tue, 8 Apr 2014 12:56:06 +0000 (18:26 +0530)]
Included qspi func test cases in scenario_groups

qspi functional test cases missing in scenario_groups/default-ddt.
Included the functional test cases which are tested.

Signed-off-by: vinothkumar <vinothr@ti.com>
10 years agorunltp file execute permission is missing
vinothkumar [Tue, 8 Apr 2014 12:49:11 +0000 (18:19 +0530)]
runltp file execute permission is missing

using chmod changed the file permission to execute

Signed-off-by: vinothkumar <vinothr@ti.com>
10 years agoblk_device_common.sh: Fix a bug in getting partition size.
Yan Liu [Thu, 27 Feb 2014 19:32:14 +0000 (14:32 -0500)]
blk_device_common.sh: Fix a bug in getting partition size.

When using fdisk to get the size, the size displayed could be MB, GB or others.
Now the fix is to use Bytes instead of MB or GB to avoid this problem.

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoUpdate scope for PM resume test
Carlos Hernandez [Mon, 24 Feb 2014 23:40:09 +0000 (18:40 -0500)]
Update scope for PM resume test

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoALSA: Add AM43xx platforms to volume and switch tests
Alejandro Hernandez [Thu, 20 Feb 2014 17:39:50 +0000 (12:39 -0500)]
ALSA: Add AM43xx platforms to volume and switch tests

This patch adds the AM43xx EPOS and GP EVMs to the volume
and witch tests.

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoblk_device_tarball_write_test.sh: Wrap wget
Carlos Hernandez [Wed, 19 Feb 2014 23:22:31 +0000 (18:22 -0500)]
blk_device_tarball_write_test.sh: Wrap wget

Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoalsa_test.sh: Wrap wget
Carlos Hernandez [Wed, 19 Feb 2014 23:22:30 +0000 (18:22 -0500)]
alsa_test.sh: Wrap wget

Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoDefine Wget, a wrapper for wget
Carlos Hernandez [Wed, 19 Feb 2014 23:22:29 +0000 (18:22 -0500)]
Define Wget, a wrapper for wget

This is useful to get files inside and outside the intranet with user
worrying about passing proxy flags to wget.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd site_info file
Carlos Hernandez [Wed, 19 Feb 2014 23:22:28 +0000 (18:22 -0500)]
Add site_info file

site_info should be use to define site-specific configuration such
as http_proxy servers, etc.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agorunltp: Remove extra results printout
Carlos Hernandez [Wed, 19 Feb 2014 16:35:09 +0000 (11:35 -0500)]
runltp: Remove extra results printout

Remove extra PASS/FAIL printout as it is confusing.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agopowermgr_cpufreq: Fix timeout error on heavyduty test
Carlos Hernandez [Wed, 12 Feb 2014 20:12:00 +0000 (15:12 -0500)]
powermgr_cpufreq: Fix timeout error on heavyduty test

Change scope of STRESS_CPUFREQ_HEAVYDUTY test tag from
XL to XXL. If there are multiple OPPs (e.g. 5 or more), running
100K loops can take more than 24 hours.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agocommon/functions.sh: Avoid calling top from idle
Carlos Hernandez [Wed, 12 Feb 2014 20:10:24 +0000 (15:10 -0500)]
common/functions.sh: Avoid calling top from idle

Calling top from script causes the script to get stuck.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agofunctions: Fix bug in call to cpuloadgenerator
Carlos Hernandez [Mon, 10 Feb 2014 21:59:49 +0000 (16:59 -0500)]
functions: Fix bug in call to cpuloadgenerator

Couple of issues got fixed:
* There was an infinite loop in code to generate cpu load
* There was a syntax error in the cpuload call

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agomtd_common.sh: Add function to get partition number based on the name
Yan Liu [Tue, 4 Feb 2014 19:59:54 +0000 (14:59 -0500)]
mtd_common.sh: Add function to get partition number based on the name

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agopowermgr_cpufreq: Modify basic cpufreq test
Carlos Hernandez [Wed, 5 Feb 2014 21:00:20 +0000 (16:00 -0500)]
powermgr_cpufreq: Modify basic cpufreq test

Previous tests ran too many iterations and was outside the
intended scope for the test.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agopowermgr_cpufreq.sh: Add regulator names for am43xx
Carlos Hernandez [Mon, 3 Feb 2014 20:30:52 +0000 (15:30 -0500)]
powermgr_cpufreq.sh: Add regulator names for am43xx

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agopowermgr_cpufreq: Fix scope tags
Carlos Hernandez [Mon, 3 Feb 2014 20:17:14 +0000 (15:17 -0500)]
powermgr_cpufreq: Fix scope tags

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agopowermgr_dynticks.sh: Relax dynticks pass criteria
Carlos Hernandez [Mon, 3 Feb 2014 20:01:55 +0000 (15:01 -0500)]
powermgr_dynticks.sh: Relax dynticks pass criteria

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoddt/system_cpufreq: Fix test tag for MMC test case
Carlos Hernandez [Mon, 3 Feb 2014 17:08:31 +0000 (12:08 -0500)]
ddt/system_cpufreq: Fix test tag for MMC test case

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoruntest/ddt/sgx: Eliminate hardcoded path
Carlos Hernandez [Fri, 31 Jan 2014 19:44:50 +0000 (14:44 -0500)]
runtest/ddt/sgx: Eliminate hardcoded path

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agomtd_common: increase the search range of mtd partitions
Yan Liu [Thu, 30 Jan 2014 19:03:29 +0000 (14:03 -0500)]
mtd_common: increase the search range of mtd partitions

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoChange scope to XL for mmc stress test
Yan Liu [Thu, 30 Jan 2014 18:59:18 +0000 (13:59 -0500)]
Change scope to XL for mmc stress test

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoModified gpio-pm-tests to add more testcases
Yan Liu [Thu, 30 Jan 2014 18:56:37 +0000 (13:56 -0500)]
Modified gpio-pm-tests to add more testcases

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoblk_device_modular_dd_rw: Add logic for FS_TYPE
Yan Liu [Wed, 29 Jan 2014 20:25:54 +0000 (15:25 -0500)]
blk_device_modular_dd_rw: Add logic for FS_TYPE

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd more power state name in log_pm_count function
Yan Liu [Tue, 14 Jan 2014 20:20:44 +0000 (15:20 -0500)]
Add more power state name in log_pm_count function

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agonandtest: modified the nand test cases
Yan Liu [Sun, 19 Jan 2014 16:18:02 +0000 (11:18 -0500)]
nandtest: modified the nand test cases

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoPull out ipc_test_suite until the build issues are resolved
Yan Liu [Fri, 17 Jan 2014 19:41:39 +0000 (14:41 -0500)]
Pull out ipc_test_suite until the build issues are resolved

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agogpio-pm-tests: escape the double quote so that only run the test case sepecified
Yan Liu [Tue, 14 Jan 2014 15:52:43 +0000 (10:52 -0500)]
gpio-pm-tests: escape the double quote so that only run the test case sepecified

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoMakefile updated to fix ipc build problem.
Yebio Mesfin [Tue, 14 Jan 2014 13:18:54 +0000 (09:48 -0330)]
Makefile updated to fix ipc build problem.

Did quick fix until makefile at the ipc level
are updated. The ipc level makefile should build
ipc modules only for  the platform they are supported.
Also testcases/ddt/Makefile is modified to filter out module
installation for platform that does not support it.

Signed-off-by: Yebio Mesfin <ymesfin@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd logic to determine the pass fail of mtdtests. Also change the scope of nand stres...
Yan Liu [Fri, 10 Jan 2014 15:47:24 +0000 (10:47 -0500)]
Add logic to determine the pass fail of mtdtests. Also change the scope of nand stress test

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoget_modular_config_names.sh: corrections for sound module selection
Peter Ujfalusi [Mon, 16 Dec 2013 09:29:28 +0000 (11:29 +0200)]
get_modular_config_names.sh: corrections for sound module selection

Changes:
- Do not load snd-soc-omap unconditionally for audio (it's OMAP/DRA7 only)
- Add configuration for DRA7-EVM
- Fix BeagleBoard config:
 - Load correct machine driver (snd-soc-omap-twl4030)
 - Reorder the modules: asoc-platform, asoc-cpudai, asoc-codec, asoc-machine
- AM335x fixes:
 - separate BBB since that one have HDMI audio. Kernel config should be
   corrected to this one to work at all.
 - AM335x-EVM/EVMS:
  - Correct the config/module name pairs
  - Reorder the modules: asoc-platform, asoc-cpudai, asoc-codec, asoc-machine
- OMAP5-uevm:
 - Correct the configuration (include codec and machine driver)
 - Reorder the modules: asoc-platform, asoc-cpudai, asoc-codec, asoc-machine

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoiommu functional testing kernel module.
Yebio Mesfin [Thu, 9 Jan 2014 14:11:46 +0000 (10:41 -0330)]
iommu functional testing kernel module.

The iommu test module does iommu module functional test.
The test will map a predefined physical address to a device address, of a
given length. Proper translation table is created for mapping virtual address
to physicall adress. The test application does first level translation.
files modified or created are:
testcases/ddt/ipc_test_suite/Makefile
testcases/ddt/ipc_test_suite/src/kernel/Makefile
testcases/ddt/ipc_test_suite/src/kernel/iommu.c

Signed-off-by: Yebio Mesfin <ymesfin@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoFix @requires on ddt/system_tests
Carlos Hernandez [Wed, 8 Jan 2014 21:29:57 +0000 (16:29 -0500)]
Fix @requires on ddt/system_tests

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoMinor fixes on dynticks test
Carlos Hernandez [Wed, 8 Jan 2014 21:28:52 +0000 (16:28 -0500)]
Minor fixes on dynticks test

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoFilter out ipc_test_suite for unsupported platforms
Yan Liu [Tue, 7 Jan 2014 18:42:45 +0000 (13:42 -0500)]
Filter out ipc_test_suite for unsupported platforms

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agousb: usb_stress_io: Reload necessary modules with appropriate parameters
Roger Quadros [Thu, 21 Nov 2013 11:20:05 +0000 (13:20 +0200)]
usb: usb_stress_io: Reload necessary modules with appropriate parameters

Some tests like ISO need specific parameters for the usbtest module so
we reload the modules with the necessary parameters.

Check if USB_TEST and USB_ZERO drivers are configured as modules since we
need to load to load them with different parameters for different test cases.

Increase USB_L_STRESS_UNLINK timeout to 200 seconds.

get rid of XHCI* test cases as it adds no differentiation at the moment.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agousb: usb_perf_raw: Check for CONFIG_USB_TEST and CONFIG_USB_ZERO
Roger Quadros [Thu, 21 Nov 2013 11:20:04 +0000 (13:20 +0200)]
usb: usb_perf_raw: Check for CONFIG_USB_TEST and CONFIG_USB_ZERO

We need the USB_TEST and USB_ZERO drivers to be present as modules
since we need to reload it with different module parameters for different
test cases.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agousb: usb_perf_raw: Add ISO performance tests
Roger Quadros [Thu, 21 Nov 2013 11:20:03 +0000 (13:20 +0200)]
usb: usb_perf_raw: Add ISO performance tests

Add iso-out-perf and iso-in-perf tests for ISO performance
measurement in the usb_test.sh utility.

Add USB_L_PERF_ISO_OUT and USB_L_PERF_ISO_IN test cases
for USB ISO performance.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agousb: usb_perf_raw: Reload necessary modules with appropriate parameters
Roger Quadros [Thu, 21 Nov 2013 11:20:02 +0000 (13:20 +0200)]
usb: usb_perf_raw: Reload necessary modules with appropriate parameters

Parameters are suited for better throughput measurements.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agousb: usb_test.sh: Improve test parameters for better throughput
Roger Quadros [Thu, 21 Nov 2013 11:20:01 +0000 (13:20 +0200)]
usb: usb_test.sh: Improve test parameters for better throughput

These parameters give a better throughput measurement.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agousb: usb_test.sh: Improve throughput accuracy
Roger Quadros [Fri, 22 Nov 2013 15:05:06 +0000 (17:05 +0200)]
usb: usb_test.sh: Improve throughput accuracy

Use the time returned by testusb instead of measuring our own
time as that is more accurate and doesn't include time required
for searching for the test USB device. This produces more accurate
throughput measurements.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agousb: usb-test.sh: remove undefined check_config
Roger Quadros [Thu, 21 Nov 2013 11:19:59 +0000 (13:19 +0200)]
usb: usb-test.sh: remove undefined check_config

Gets rid of the following warning message

/opt/ltp/testcases/bin/ddt/usb/usb_test.sh: line 151: check_config: command not found

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agousb: testusb: Fail if operation not supported
Roger Quadros [Thu, 21 Nov 2013 11:19:58 +0000 (13:19 +0200)]
usb: testusb: Fail if operation not supported

ISO test cases were falsely passing all this while as we were
not returning error on a not supported error.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd gpio test support in gpio.sh for am43xx-gpevm
Yan Liu [Fri, 20 Dec 2013 16:24:04 +0000 (11:24 -0500)]
Add gpio test support in gpio.sh for am43xx-gpevm

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd emmc into am43xx-gpevm platform file
Yan Liu [Wed, 18 Dec 2013 01:53:39 +0000 (20:53 -0500)]
Add emmc into am43xx-gpevm platform file

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agochange nand stress test type to XL to increate the timeout
Yan Liu [Sat, 14 Dec 2013 16:04:58 +0000 (11:04 -0500)]
change nand stress test type to XL to increate the timeout

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoMD5 and SHA modes to use async mode tests
Aparna Balasubramanian [Thu, 12 Dec 2013 19:06:25 +0000 (13:06 -0600)]
MD5 and SHA modes to use async mode tests

Modifies md5 and sha ltp tests to use async mode rather than sync mode since it was indicated that crypto drivers do not support hardware acceleration in sync mode.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoFile defines Scenarios for IPC related test.
Yebio Mesfin [Tue, 10 Dec 2013 17:04:56 +0000 (13:34 -0330)]
File defines Scenarios for IPC related test.

IPC_S_FUNC_MBOX scenario does mailbox loopback test.
The scenario does clear dmesg, insert kernel module,
get dmesg and verify that valid data is recieved.

Signed-off-by: Yebio Mesfin <ymesfin@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoList Audio devices in alsa test cases
Alejandro Hernandez [Tue, 10 Dec 2013 17:49:52 +0000 (12:49 -0500)]
List Audio devices in alsa test cases

This patch adds the printout of aplay -l and arecord -l to the
alsa tests.

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoIPC: MailBoox loopback test.
Yebio Mesfin [Mon, 9 Dec 2013 18:19:50 +0000 (14:49 -0330)]
IPC: MailBoox loopback test.

The test application does mailbox related configuration, assumes hardware
loopback setup in dtb file, send test data and receives the data back
using the callback function.
files modified are:
root  Makefile
testcases/ddt/ipc_test_suite/Makefile
testcases/ddt/ipc_test_suite/src/kernel/Makefile
testcases/ddt/ipc_test_suite/src/kernel/main.c

Signed-off-by: Yebio Mesfin <ymesfin@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoChanging scope and modifying hardware requirements for weekly tests
Aparna Balasubramanian [Sun, 8 Dec 2013 17:45:19 +0000 (11:45 -0600)]
Changing scope and modifying hardware requirements for weekly tests

Changes scope to from L to XL or M to L to take care of new duration
definitions. Also, adds hardware requirements for some of the system_usb
tests which were missing them. Splitting system_usb_cpufreq into
system_usbmsc_cpufreq and system_usbiso_cpufreq to take care of different
hardware requirements in each case.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoChecking interrupt count for crypto tests
Aparna Balasubramanian [Sun, 8 Dec 2013 15:46:14 +0000 (09:46 -0600)]
Checking interrupt count for crypto tests

Adds script to determine hardware IP for crypto and corresponding check for
IRQ count increase in test case definition.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoAdd cpuidle stress tests
Carlos Hernandez [Mon, 9 Dec 2013 22:26:07 +0000 (17:26 -0500)]
Add cpuidle stress tests

This test added based on customer request to check board after
being idle for 2 days.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoAdd Linaro's cpuidle tests
Carlos Hernandez [Mon, 9 Dec 2013 21:46:23 +0000 (16:46 -0500)]
Add Linaro's cpuidle tests

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agommc_tarball test: change the tarball source
Yan Liu [Sat, 7 Dec 2013 17:20:13 +0000 (12:20 -0500)]
mmc_tarball test: change the tarball source

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoForcing musb module to be removed before suspend
Aparna Balasubramanian [Sun, 8 Dec 2013 02:03:01 +0000 (20:03 -0600)]
Forcing musb module to be removed before suspend

In the case of am335x-based targets, musb module needs to be
removed forcibly before a suspend can be performed succesfully.
In case the test case definition does not explicitly set the
usb_remove and usb_module flags, this change will take care of
setting default usb_remove to 1 and usb_module to appropriate
musb module name for am335x-based targets.

Tested with am335x-evm and dra7xx-evm.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoModify usb eth test case names
Carlos Hernandez [Sat, 7 Dec 2013 22:42:14 +0000 (17:42 -0500)]
Modify usb eth test case names

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoddt/usbhost_eth_ping: Make tests name compliant
Carlos Hernandez [Sat, 7 Dec 2013 22:22:07 +0000 (17:22 -0500)]
ddt/usbhost_eth_ping: Make tests name compliant

The test cases were not following the naming convention of
AREA_SCOPE_TYPE_*

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoddt/system_usbhost: Add missing test scenario metadata
Carlos Hernandez [Sat, 7 Dec 2013 22:21:05 +0000 (17:21 -0500)]
ddt/system_usbhost: Add missing test scenario metadata

Add missing @name, @desc, @requires and @setup_requires.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoddt/smp_watchdog_cpu_affinity: Add @name annotation
Carlos Hernandez [Sat, 7 Dec 2013 22:19:55 +0000 (17:19 -0500)]
ddt/smp_watchdog_cpu_affinity: Add @name annotation

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoUpdate README-DDT
Carlos Hernandez [Sat, 7 Dec 2013 21:34:35 +0000 (16:34 -0500)]
Update README-DDT

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoModified gpio script to be able to test any gpio banks
Yan Liu [Wed, 4 Dec 2013 22:46:42 +0000 (17:46 -0500)]
Modified gpio script to be able to test any gpio banks

Before the script test all gpio banks. Since not all gpio banks are being enabled in
kernel, the script is modified to only test enabled gpio banks.

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd more spi performance test to test larger size
Yan Liu [Wed, 4 Dec 2013 22:46:04 +0000 (17:46 -0500)]
Add more spi performance test to test larger size

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd qspi modular support for am43xx-epos
Yan Liu [Wed, 27 Nov 2013 19:18:20 +0000 (14:18 -0500)]
Add qspi modular support for am43xx-epos

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd Linaro's cpufreq tests
Carlos Hernandez [Wed, 20 Nov 2013 20:32:56 +0000 (15:32 -0500)]
Add Linaro's cpufreq tests

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agofunctions.sh: Fix kill_memtest function
Carlos Hernandez [Tue, 19 Nov 2013 20:45:41 +0000 (15:45 -0500)]
functions.sh: Fix kill_memtest function

Properly killed memtester during test clean up.
Also make sure that show_test_status returns non zero in case of
test failure.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agofunctions.sh: Add test_status_show()
Carlos Hernandez [Tue, 19 Nov 2013 15:55:12 +0000 (10:55 -0500)]
functions.sh: Add test_status_show()

Update functions.sh per latest Linaro version

Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoPowermgr - suspend/resume scenarios with usb
Aparna Balasubramanian [Fri, 22 Nov 2013 22:47:48 +0000 (16:47 -0600)]
Powermgr - suspend/resume scenarios with usb

Changes to support suspend resume scenarios when usb device is connected
to host port.
1) Enhances suspend function in common.sh to take usb_remove flag and
   corresponding usb module.

2) Adds tests to existing powermgr_suspend test suite to ignore suspend
failure when usb device is connected to host port.

3) Adds tests to explicitly remove usbhost modules before suspending

4) Adds tests to be run on setup with nousbhost

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoModule names for ti_cpsw and musb
Aparna Balasubramanian [Fri, 22 Nov 2013 22:40:04 +0000 (16:40 -0600)]
Module names for ti_cpsw and musb

Adds the correct module names for ti_cpsw and musb. Without these changes, the
modular tests for these drivers were having issues running. Also, adding eth
insmod/rmmod stress tests.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd qspi modular support into ltp-ddt for dra7xx-evm
Yan Liu [Tue, 19 Nov 2013 22:35:56 +0000 (17:35 -0500)]
Add qspi modular support into ltp-ddt for dra7xx-evm

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoFix bug in nandtests
Yan Liu [Tue, 19 Nov 2013 22:34:55 +0000 (17:34 -0500)]
Fix bug in nandtests

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoEth LTP - change of scope from M to L
Aparna Balasubramanian [Thu, 14 Nov 2013 15:43:27 +0000 (09:43 -0600)]
Eth LTP - change of scope from M to L

Changing scope of some medium(M) scope FUNC ethernet LTP tests to STRESS scope
so that a longer timeout is used when test is exported to testlink database.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoMD5 crypto tests to am43xx and dra7xx targets
Aparna Balasubramanian [Wed, 13 Nov 2013 20:16:08 +0000 (14:16 -0600)]
MD5 crypto tests to am43xx and dra7xx targets

Addition of MD5 crypto to am43xx and dra7xx platform files.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoEnhance usbhost audio device search logic
Aparna Balasubramanian [Tue, 12 Nov 2013 20:59:21 +0000 (14:59 -0600)]
Enhance usbhost audio device search logic

Adding enhancements to usbhost audio search logic so that in case
of using a usb camera which has sound card, the audio search logic actually
checks that the sound card used is actually that of an audio device - that it has a play and record card associated with it.

Tested with xhci/ehci on omap5evm and for the following tests which should
cover all affected scenarios. Checked with and without camera connected.

USBXHCIHOST_S_FUNC_AUDIO_LOOPBACK_WITH_VIDEO_CAPTURE
USBHOST_S_FUNC_AUDIO_PLAYBACK_ACCESSTYPE_NONINTER_01
USBHOST_S_FUNC_AUDIO_CAPTURE_ACCESSTYPE_NONINTER_01

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoMakefile for crypto directory
Aparna Balasubramanian [Tue, 12 Nov 2013 17:27:56 +0000 (11:27 -0600)]
Makefile for crypto directory

Adding Makefile for crypto directory under testcases/ddt/scripts/crypto
Without this file, the crypto shell script does not get built
into the ltp-ddt filesystem.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdding sha224, sha384, and sha512 tests.
Aparna Balasubramanian [Tue, 12 Nov 2013 14:49:10 +0000 (08:49 -0600)]
Adding sha224, sha384, and sha512 tests.

Tests for sha224, sha384 and sha512 with appropriate changes to
platform files which support these modes. Also, adds crypto support
for am43xx platform files.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
V2:
diffstat: Fixed @requires in crypto_sha384 based on review feedback.
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoCrypto wrapper and test changes
Aparna Balasubramanian [Mon, 11 Nov 2013 19:45:16 +0000 (13:45 -0600)]
Crypto wrapper and test changes

Includes:
1) Splitting up of crypto tests into different files to take care
of supported crypto mode in requires

2) Adding appropriate supported crypto modes to individual platform
files so that only supported modes for each platform are imported into
testlink.

3) Removing cryptos from omap5-evm platform file since no hardware crypto
mode is supported on that platform.

4) Modifying crypto wrapper to take care of additional errors which can
be ignored.

5) Removing crypto in runtest/ddt since test cases are now split
into separate files as in 1) above.

Tested on am335x-evm and dra7xx-evm.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd gpio ltp-ddt support for am43xx-epos
Yan Liu [Mon, 11 Nov 2013 16:01:07 +0000 (11:01 -0500)]
Add gpio ltp-ddt support for am43xx-epos

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoFix the typo errors in am43xx platform files to make the platform name consistent
Yan Liu [Mon, 11 Nov 2013 15:59:31 +0000 (10:59 -0500)]
Fix the typo errors in am43xx platform files to make the platform name consistent

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoAdd gpio test support in ltp-ddt
Yan Liu [Thu, 7 Nov 2013 19:33:04 +0000 (14:33 -0500)]
Add gpio test support in ltp-ddt

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agowatchdog: Fix the buffer and buffer size for write operation
Lokesh Vutla [Wed, 6 Nov 2013 06:57:23 +0000 (12:27 +0530)]
watchdog: Fix the buffer and buffer size for write operation

Currently write operation is passing a NULL buffer with length as 1.
Correcting the same.
While passing buffer we have two option:
-> either pass "\0" with length as 1
-> Pass "C\0" with length 2.( This is the magic character that the
driver expectes to enable WDOG_ALLOW_RELEASE flag)

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoWrapper for crypto tests
Aparna Balasubramanian [Tue, 5 Nov 2013 22:41:01 +0000 (16:41 -0600)]
Wrapper for crypto tests

Adding wrapper for crypto tests which use tcrypt and do not provide
a way of selecting a subset of supported algorithms.
Corresponding change to test cases is also included here.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
10 years agoAdd -q option to flash_erase command in nandecc test script
Yan Liu [Tue, 29 Oct 2013 19:06:51 +0000 (15:06 -0400)]
Add -q option to flash_erase command in nandecc test script

Signed-off-by: Yan Liu <yan-liu@ti.com>
10 years agoTypo in eth_parallel_processing
Aparna Balasubramanian [Tue, 29 Oct 2013 18:25:24 +0000 (13:25 -0500)]
Typo in eth_parallel_processing

Fixes typo in eth_parallel_processing where the 'S' scope test had the /nfs/mount instead of /mnt/nfs_mount

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>