Re: [PATCH] dtc: test: make the test output more friendly

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



On Fri, Oct 24, 2014 at 03:19:17AM +0000, Wang Long wrote:
> when run the command 'make check', the format of the output as the follow:
> 
> ../fdtput label01.dts.fdtput.test.dtb -p /you/are/drunk/sir/winston slurp -ts twice:	PASS
> ../fdtput label01.dts.fdtput.test.dtb -cp "Lorem ipsum dolor sit amet, cons"...<4119 bytes>PASS
> ../fdtput label01.dts.fdtput.test.dtb -cp /chosen:	PASS
> ../fdtput label01.dts.fdtput.test.dtb -cp /chosen/son:	PASS
> 
> this patch make the format of the output more firendly to developer, as the follow:
> 
> ../fdtput label01.dts.fdtput.test.dtb -p /you/are/drunk/sir/winston slurp -ts twice:           [ PASS ]
> ../fdtput label01.dts.fdtput.test.dtb -cp "Lorem ipsum dolor sit amet, cons"...<4119 bytes>    [ PASS ]
> ../fdtput label01.dts.fdtput.test.dtb -cp /chosen:                                             [ PASS ]
> ../fdtput label01.dts.fdtput.test.dtb -cp /chosen/son:                                         [ PASS ]
> 
> The test result print ooutput at the right side of the terminal.
> The "PASS" word  printed in green color and the "FAILED" word
> printed in red color, which are more friendly to
> developer.

Sorry, I'm not inclined to accept this in the current form.

This approach assumes a particular type of ansi compatible terminal
which I'd prefer not to do.

-- 
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: pgpDeNn5d3OVa.pgp
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