From 8f8b77a0d62dbc0e7abee873a03ef34e9041a051 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 3 Oct 2018 15:12:11 +0200 Subject: [PATCH] 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 Signed-off-by: David Gibson --- tests/run_tests.sh | 4 ++-- 1 file 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