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>
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>
v4l2_cap: Enable v4l2_capture test suite for dra7xx
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Update alsa tests tags
This patch updates the alsa test tags based on the
execution time of the tests
Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
This patch updates the alsa test tags based on the
execution time of the tests
Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Update fbdev tests tags
This patch updates the fbdev tests tags based on the
execution time of the tests
Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
This patch updates the fbdev tests tags based on the
execution time of the tests
Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add audio alsa configuration for am43xx-epos
This patch adds the audio configuration needed to run alsa tests in
am43xx EPOS.
Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
This patch adds the audio configuration needed to run alsa tests in
am43xx EPOS.
Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Set test scope of powermgr tests tags
The meaning of scope tags change slightly, so adjust the test tags
to reflect new meaning.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
The meaning of scope tags change slightly, so adjust the test tags
to reflect new meaning.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Delete powermgr_suspend_nousbhost tests
DUT should be able to suspend with USB devices attached.
There is no longer a need for these tests.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
DUT should be able to suspend with USB devices attached.
There is no longer a need for these tests.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
common: functions.sh: Restart rtcwake on late int
It is possible that a late interrupt will cause the suspend path to
abort. In such scenario, the current suspend code will fail the test.
This patch detects such condition and it starts a new rtcwake call.
It is believe that one retry such be enough to handle this late
interrupts scenario.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
It is possible that a late interrupt will cause the suspend path to
abort. In such scenario, the current suspend code will fail the test.
This patch detects such condition and it starts a new rtcwake call.
It is believe that one retry such be enough to handle this late
interrupts scenario.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
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>
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>
Update scope for PM resume test
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
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>
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>
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>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
alsa_test.sh: Wrap wget
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
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>
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>
runltp: Remove extra results printout
Remove extra PASS/FAIL printout as it is confusing.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Remove extra PASS/FAIL printout as it is confusing.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
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>
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>
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>
Calling top from script causes the script to get stuck.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
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>
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>
mtd_common.sh: Add function to get partition number based on the name
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
Previous tests ran too many iterations and was outside the
intended scope for the test.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
powermgr_cpufreq.sh: Add regulator names for am43xx
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
powermgr_cpufreq: Fix scope tags
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
powermgr_dynticks.sh: Relax dynticks pass criteria
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
ddt/system_cpufreq: Fix test tag for MMC test case
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
runtest/ddt/sgx: Eliminate hardcoded path
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
mtd_common: increase the search range of mtd partitions
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Change scope to XL for mmc stress test
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Modified gpio-pm-tests to add more testcases
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
blk_device_modular_dd_rw: Add logic for FS_TYPE
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add more power state name in log_pm_count function
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
nandtest: modified the nand test cases
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Pull out ipc_test_suite until the build issues are resolved
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
gpio-pm-tests: escape the double quote so that only run the test case sepecified
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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...
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>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
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>
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>
Fix @requires on ddt/system_tests
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Minor fixes on dynticks test
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Filter out ipc_test_suite for unsupported platforms
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
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>
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>
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>
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>
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>
Parameters are suited for better throughput measurements.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
These parameters give a better throughput measurement.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
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>
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>
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>
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>
Add gpio test support in gpio.sh for am43xx-gpevm
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add emmc into am43xx-gpevm platform file
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
change nand stress test type to XL to increate the timeout
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
This test added based on customer request to check board after
being idle for 2 days.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Add Linaro's cpuidle tests
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
mmc_tarball test: change the tarball source
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
Modify usb eth test case names
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
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>
The test cases were not following the naming convention of
AREA_SCOPE_TYPE_*
Signed-off-by: Carlos Hernandez <ceh@ti.com>
ddt/system_usbhost: Add missing test scenario metadata
Add missing @name, @desc, @requires and @setup_requires.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Add missing @name, @desc, @requires and @setup_requires.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
ddt/smp_watchdog_cpu_affinity: Add @name annotation
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Update README-DDT
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
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>
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>
Add more spi performance test to test larger size
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add qspi modular support for am43xx-epos
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add Linaro's cpufreq tests
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
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>
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>
functions.sh: Add test_status_show()
Update functions.sh per latest Linaro version
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Update functions.sh per latest Linaro version
Signed-off-by: Carlos Hernandez <ceh@ti.com>
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>
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>
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>
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>
Add qspi modular support into ltp-ddt for dra7xx-evm
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Fix bug in nandtests
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Add gpio ltp-ddt support for am43xx-epos
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Fix the typo errors in am43xx platform files to make the platform name consistent
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add gpio test support in ltp-ddt
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
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>
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>
Add -q option to flash_erase command in nandecc test script
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
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>
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>
Fixed a bug in blk_device_filesystem script; also modify sanity perf test
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Modifying MUSB modular config name
Modifying the usb_cnt_interface name to musb instead of ti81xx.
When probing for the right usb node in get_blk_device_node as follows:
ls /dev/disk/by-path/*-part1|grep -i "$usb_cnt_interface"
ti81xx is not present in the path any more.
Also adding beaglebone-black in the list of platforms which require this change.
Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Modifying the usb_cnt_interface name to musb instead of ti81xx.
When probing for the right usb node in get_blk_device_node as follows:
ls /dev/disk/by-path/*-part1|grep -i "$usb_cnt_interface"
ti81xx is not present in the path any more.
Also adding beaglebone-black in the list of platforms which require this change.
Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
LTP-DDT: platforms files for am43xx derivatives
Adding am43xx-epos and am43xx-gpevm platforms files
and removing am437x-evm.
Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Adding am43xx-epos and am43xx-gpevm platforms files
and removing am437x-evm.
Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add gpio to beaglebone and beaglebone-black platform files
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Files are updated to match brightness index value.
According to the new implementation, brightness level
is configured using index value of range [0-8], Unlike
the old implementation which was based on levels[0-110].
So the testcases will pass 0 to 8 instead of 0 to 110.
Signed-off-by: Yebio Mesfin <ymesfin@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
According to the new implementation, brightness level
is configured using index value of range [0-8], Unlike
the old implementation which was based on levels[0-110].
So the testcases will pass 0 to 8 instead of 0 to 110.
Signed-off-by: Yebio Mesfin <ymesfin@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
AM335x-SK: Add crypto to platform file
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Fix flash erase command error
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Modified nand related scripts to make it easier debug;
also skip mkfs part when run modular dd rw tests.
Signed-off-by: Yan Liu <yan-liu@ti.com>
also skip mkfs part when run modular dd rw tests.
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add flash erase to make sure the nand test will be not affected by the previous run
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add gpio support for BB-black, SK and BBW
Signed-off-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>