Re: [PATCH] tests: Wrap check_align() calls with base_run_test()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Oct 03, 2018 at 03:12:11PM +0200, Lubomir Rintel wrote:
> 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@xxxxx>

Applied, thanks.

> ---
>  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 e3e64e8..0e9f345 100755
> --- a/tests/run_tests.sh
> +++ b/tests/run_tests.sh
> @@ -724,10 +724,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

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux