Commit Graph

29 Commits

Author SHA1 Message Date
Vinod Koul
3f542a8323 boards: msm8998: Fixup test for prng
prng used KBUILD_MODNAME, thus apperas as msm_rng so fix the name in
tests

Signed-off-by: Vinod Koul <vkoul@kernel.org>
2018-06-18 12:36:08 -07:00
Vinod Koul
99f44ac5f7 boards: db410: Test for prng
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2018-06-18 12:36:08 -07:00
Vinod Koul
8263d9765b boards: db820c: Test for prng
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2018-06-18 12:36:08 -07:00
Nicolas Dechesne
8ed17b019a helpers/*: use '.' not 'source'
The 'source' command is a bashism, and not in the POSIX standard. So
it fails when using POSIX compliant shell such as Dash which is the
default on Debian. Using the '.' command is equivalent to using
source, and is POSIX compliant.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-06-18 12:33:27 -07:00
Nicolas Dechesne
8db9a55c02 bootrr: emulate lava-test-case command
In case lava-test-command is not available, emulate what it is
supposed to do. This is a convenient hack to make it easier to run
bootrr locally for debug/testing purpose.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-06-18 12:33:27 -07:00
Nicolas Dechesne
45640e5b26 helpers/*: do not assume /usr/bin/
The helpers assume that bootrr script is located in /usr/bin, which is
not always the case, especially when one needs to run the test locally
from the git tree.

'source' command will search for files using $PATH. When bootrr
scripts are installed globally using 'make install' they will be
found. When running them from a local folder, setting PATH to include
<bootrr>/helpers will ensure that all scripts will be found.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-06-18 12:33:27 -07:00
Bjorn Andersson
fdae0ac994 db820c: Drop duplicate ath10k and atl1c tests
Both Niklas and myself added checks for these and I merged both patches,
let's drop one of them.

Reported-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-06-18 12:25:12 -07:00
Bjorn Andersson
ca9605bd72 boards: db820c: Test for atl1c and ath10k_pci
Now that we're getting all the pieces in place for PCIe upstream let's
test for the ethernet and wlan showing up on db820c.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-05-25 14:53:49 -07:00
Bjorn Andersson
f6e0bdda08 helpers: Allow timeout in assert_driver as well
Drivers for hardware on dynamically probed busses might take a while to
autoload, so add support for specifying a timeout for these.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-05-25 14:52:26 -07:00
Nicolas Dechesne
25e06598f1 boards: MTP8998: fix tsens device name
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-05-24 10:18:02 -07:00
Nicolas Dechesne
169a417421 boards: add tests for tsens for DB410c and DB820c
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-05-24 10:18:02 -07:00
Niklas Cassel
6656f9cfc5 db820c: Add test for Ethernet 2018-05-24 06:42:14 -07:00
Niklas Cassel
6d328ca9da db820c: Add test for WiFi 2018-05-24 06:42:14 -07:00
Niklas Cassel
6f3749cb50 db820c: Add test for pcie0 2018-05-24 06:42:14 -07:00
Niklas Cassel
6cc29c5d90 db820c: Rename pcie to pcie2, to match the schematics 2018-05-24 06:42:14 -07:00
Bjorn Andersson
ccc99d87f7 boards: Use timeout argument in apq8016
Instead of sleeping use the newly introduced timeout argument.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-05-11 23:17:15 -07:00
Bjorn Andersson
30e0c0fcd9 boards: Update boards list in makefile
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-05-11 23:16:26 -07:00
Bjorn Andersson
5e4444068c sdm845-mtp: Introduce initial test script
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-05-03 21:54:54 -07:00
Bjorn Andersson
4f3565d881 boards: msm8998: Add tests for everything currently in dt
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-04-30 13:54:14 -07:00
Bjorn Andersson
577a9b8270 boards: Add Sony Xperia Z2 Tablet test script
Add some test cases for castor, now that it is being boot tested.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-04-20 11:35:03 -07:00
Bjorn Andersson
2ba0163958 msm8998: Add test for boot-to-console msm8998 mtp
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-21 18:22:19 +08:00
Aníbal Limón
365a5ee5fe Makefile: Add missing bootrr installation
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2018-03-20 20:19:21 -07:00
Bjorn Andersson
8390be2bcb ensure_lib_firmware: Use bootrr helper and add timeout
Use bootrr helpers to support waiting for some time for the partition to
appear before giving up. This removes the need for putting an explicit
sleep in the test script.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-07 18:32:24 -08:00
Bjorn Andersson
94e92916fd bootrr: Move common functions to bootrr
Move the common functions to a helper and use this from
assert_device_present.

Make assert_device_present accept a fourth parameter for a timeout,
which will cause the assert to wait for the given amount of time for the
device to appear.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-07 18:07:09 -08:00
Bjorn Andersson
ede63f2b8a make: Move files into subdirectories
Instead of mixing helpers and board files move them to separate folders.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-06 14:20:41 -08:00