mirror of
https://github.com/linux-msm/bootrr.git
synced 2026-02-25 13:12:03 -08:00
helpers: Add script to perform generic tests
Some tests does not depend on a board. We can consider these tests as generic and bootrr-generic-tests is added to contain them. This scripts is started at the begining of bootrr-auto before boards specific tests. Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com> Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
This commit is contained in:
committed by
Bjorn Andersson
parent
4523c42196
commit
d3ac0bc9be
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
$(pwd)/helpers/bootrr-generic-tests
|
||||
|
||||
for TEST in $(tr "\0" "\n" < /proc/device-tree/compatible); do
|
||||
if [ -x "/usr/bin/${TEST}" ]; then
|
||||
/usr/bin/${TEST}
|
||||
|
||||
4
helpers/bootrr-generic-tests
Executable file
4
helpers/bootrr-generic-tests
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
assert_file_is_empty deferred-probe-empty /sys/kernel/debug/devices_deferred
|
||||
|
||||
Reference in New Issue
Block a user