diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2018-12-04 15:51:40 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-02-19 18:38:40 +0200 |
commit | e1b8f6cf2726a10ed7d43a1e090de91f8a473a90 (patch) | |
tree | cb21e341c8287596b160ccdad8b8fee807b609f2 | |
parent | f9cf26802d5ab0e28ccf3429914952307f99f5af (diff) |
tests: Add pseudo platform test
Provide an initial test which can run as part of the test suite.
This test will report the platform and kernel version, along with
the identified paths of required utilities.
This will aid in ensuring that required tools are available on a
running platform - and report the kernel and platform details in
any test suite output for clarification of results.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[Don't depend on columns]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rwxr-xr-x | tests/vsp-unit-test-0000.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/vsp-unit-test-0000.sh b/tests/vsp-unit-test-0000.sh new file mode 100755 index 0000000..5f40af7 --- /dev/null +++ b/tests/vsp-unit-test-0000.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# Report testing conditions + +model=$(cat /sys/firmware/devicetree/base/model) + +echo "Test Conditions:" + +echo " Platform: " "$model" +echo " Kernel release: " $(uname -r) +echo " convert: " $(which convert) +echo " compare: " $(which compare) +echo " killall: " $(which killall) +echo " raw2rgbpnm: " $(which raw2rgbpnm) +echo " stress: " $(which stress) +echo " yavta: " $(which yavta) |