[libvirt] testsuite formatting bugs [was: [PATCH] Skip some xen tests if xend is not running]

Eric Blake eblake at redhat.com
Fri Jul 8 15:50:29 UTC 2011


On 07/07/2011 04:21 PM, Eric Blake wrote:
> Oh, and our testsuite has a cosmetic bug.  After applying your patch, I
> see this during 'make check':
> 
> TEST: xencapstest
>       ..........                               10  OK
> PASS: xencapstest
> SKIP: reconnect
> TEST: statstest
>        0   FAIL
> SKIP: statstest
> 
> Bonus points for fixing up that output to say SKIP instead of FAIL and
> to align it correctly (but that can be a separate patch).

As long as we're investigating formatting errors, this one is also annoying:

TEST: virsh-all
      ........................................ 40
      ........................................ 80
      ........................................ 120
      ....................................... 159 OK
PASS: virsh-all

We're obviously getting the logic wrong when there are 0 or when
tests%40 == 39.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110708/e0f98f84/attachment-0001.sig>


More information about the libvir-list mailing list