Install all the tests into separe dir (${prefix}/libexec/bootrr).
Provide a generic script to run all the tests on the target board.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Remove lists of boards and helpers, this is too error-prone. For example
the list of helpers missed bootrr-generic-tests.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
There is nothing bash-specific in bootrr-auto, we can safely use /bin/sh
instead. Verified with dash and with busybox sh.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Use common test_report_exit implementation from the bootrr rather than
hand-coding lava-only version.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
There is no need to have timeout as a function in the bootrr file. Move
it to a separate helper file as we have for the rest of helpers.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Create a SoC file for Qualcomm sm8150 part since there
can be multiple boards which use the same SoC, for example
sm8150-mtp and sa8155p-adp boards.
The respective board files will include this soc file instead.
Via this patch make sure that sm8150-mtp board file includes
the qcom,soc-sm8150 file.
Subsequent patch will implement a similar mechanism for the
sa8155p-adp board.
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Add helper files to check if cpufreq and cpuidle are enabled. Also
add the test support for db845c.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Linux and Android bootloaders differs in set of partitions rootfs vs
system/userdata respectively. Both has boot partition.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
This test covers check for WCD and HDMI audio driver/devices and check
/proc/asound to ensure soundcard has devices attached.
Common assert_soundcard_present is implemented to check /proc/asound for
soundcards a devices associated with it. In this case 2 Playbacks and 1
Capture device.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Instead of reporting each thermal zone independently, test them all in
batch mode, and report one test case. When looking at the lists of
test results we will now have the same tests name for any platform
instead of a different number of tests executed for each of them.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>