Re: [PATCH] userdiff: add builtin diff driver for Kotlin language.

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

 



Am 01.03.22 um 19:09 schrieb jaydeepjd.8914@xxxxxxxxx:
> When any test fails, its verbose output is not "verbose" enough.
> For example, If due to wrong xfuncname regex or wrong test, all of the
> following hunk headers
> 
> @@...@@
> @@...@@fun right(){
> @@...@@fun
> 
> produce the same verbose output:
> 
> `not ok:....hunk header:[testfilename]`

You run

  ./t4018-diff-funcname.sh -v -i

which stops at the first failing test case. You get

expecting success of 4018.160 'hunk header: kotlin-interface':
                git diff -U1 kotlin-interface >actual &&
                grep '@@ .* @@.*RIGHT' actual

not ok 160 - hunk header: kotlin-interface
#
#                       git diff -U1 kotlin-interface >actual &&
#                       grep '@@ .* @@.*RIGHT' actual
#

from which you see that you have to inspect the file actual:

  less trash\ directory.t4018-diff-funcname/actual

-- Hannes



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux