diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-10-03 15:12:11 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-10-04 10:25:56 +1000 |
commit | 8f8b77a0d62dbc0e7abee873a03ef34e9041a051 (patch) | |
tree | d3446034bdf96da9f4f299064a3c671b4d9c4347 /tests | |
parent | 522d81d572f2f8ae683c39089df64f5c74205451 (diff) | |
download | dtc-8f8b77a0d62dbc0e7abee873a03ef34e9041a051.zip dtc-8f8b77a0d62dbc0e7abee873a03ef34e9041a051.tar.gz dtc-8f8b77a0d62dbc0e7abee873a03ef34e9041a051.tar.bz2 |
tests: Wrap check_align() calls with base_run_test()
Otherwise the FAIL results won't be accounted for in the summary.
Easily testable by artifically causing them to fail:
- if [ $(($size % $align)) -eq 0 ] ;then
+ if [ $(($size % $align)) -eq 666 ] ;then
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run_tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh index e7ee42b..bc2cc77 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -730,10 +730,10 @@ dtc_tests () { for align in 2 4 8 16 32 64; do # -p -a run_dtc_test -O dtb -p 1000 -a $align -o align0.dtb subnode_iterate.dts - check_align align0.dtb $align + base_run_test check_align align0.dtb $align # -S -a run_dtc_test -O dtb -S 1999 -a $align -o align1.dtb subnode_iterate.dts - check_align align1.dtb $align + base_run_test check_align align1.dtb $align done # Tests for overlay/plugin generation |