[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] Simplify handling of autotest tracing
From: |
Eric Blake |
Subject: |
Re: [PATCH v2] Simplify handling of autotest tracing |
Date: |
Thu, 16 Jul 2009 06:24:43 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 7/13/2009 10:47 AM:
> So, does this patch look sane, which makes the default $% mechanism of
> autom4te
> tracing not eat quite as much whitespace? In my particular debugging
> session,
> it would have made the difference more obvious (ultimately, I found the
> problem
> because I tried --trace=my_if':$@' after the plain --trace=my_if didn't show
> any obvious problems, but with this patch, it would have been immediately
> obvious). And it has the added benefit of making $% tracing faster by two
> fewer regex per traced macro.
>
>
> From: Eric Blake <address@hidden>
> Date: Mon, 13 Jul 2009 10:35:32 -0600
> Subject: [PATCH] Don't hide leading space in autom4te --trace output.
>
> * bin/autom4te.in (handle_traces): Don't flatten leading and
> trailing space, since tracing spacing bugs can be useful.
> * tests/tools.at (autom4te --trace and whitespace): New test.
I have now applied this patch.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpfHAkACgkQ84KuGfSFAYBH2gCgrnMQGwpIbFC5qsUsNFWYOah6
1mEAnjNgol4YyBLMdND2mWI3hwTlmHYX
=PlKF
-----END PGP SIGNATURE-----