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

Re: TAP output with tabs


Hi Andreas,

Please, find attache the patch I made.
Tests are adjusted too.

I was doing changes on the master branch of your git repo.You can apply the
patch with "git apply ..."

This changes works great with my project that is using cmocka and
autotools: https://github.com/staskobzar/libamip

Have a good day!


On Tue, Apr 4, 2017 at 3:11 AM, Andreas Schneider <asn@xxxxxxxxxxxxxx>
wrote:

> On Thursday, 30 March 2017 14:06:33 CEST Stas Kobzar wrote:
> > Hello,
> >
> > First of all, thank you for the great project cmocka.
> >
> > I am trying to configure its TAP output with automake but tap-driver.sh
> > from autotools does not recognize TAP output because there are tabs
> ('\t')
> > characters in the beginning of each output line.
> > I am using version 1.1.0
> >
> > For example in cmocka.c, function cmprintf_group_start_tap :
> >
> > print_message("\t1..%u\n", (unsigned)num_tests);
> >
> > I did not find in specs of TAP that there should be tab in the beginning
> of
> > output. Also perl implementation does not seems to have it.
> >
> > Are you planning to remove tabs in the output or there is a way to use it
> > with autotools ?
>
> Hey!
>
> Could you provide a patch to fix it?
>
> --
> Andreas Schneider                   GPG-ID: CC014E3D
> www.cryptomilk.org                asn@xxxxxxxxxxxxxx
>



-- 

Stas Kobzar

Developeur VoIP / VoIP Developer


Modulis­.ca Inc.

# Bureau / Office: 514-284-2020 x 246

Email: s <http://firstname.lastname>tas.kobzar@xxxxxxxxxx

https://www.modulis.com

Attachment: 0001-Fix-TAP-output-and-summary.patch
Description: Binary data


Follow-Ups:
Re: TAP output with tabsAndreas Schneider <asn@xxxxxxxxxxxxxx>
References:
Re: TAP output with tabsAndreas Schneider <asn@xxxxxxxxxxxxxx>