mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-14 00:37:41 -04:00
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>
This commit is contained in:
parent
522d81d572
commit
8f8b77a0d6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue