Eric Blake <ebl...@redhat.com> writes:

>> I plan on byte-for-byte compatibility with GNU m4 1.4.19.
>
> I'd rather you aim for byte-for-byte compatibility with the
> just-released 1.4.20 instead.

Congratulations on the new release.

>> It seems to
>> work that way for now, but I'd like any bug reports. I also plan to
>> try it more extensively myself with autotools projects soon, but I
>> figured that I'd release it as soon as possible.
>
> I will test to see how it fares against my m4 scripts.  I suspect it
> won't be long before I find an incompatibility...

Nikolaos, I helped to complete a rewrite of 'gnulib-tool' in Python
which was previously a ~8k line shell script. Both programs produced the
same output files and stdout/stderr at the time of completion (they may
have diverged a bit since then). A test suite written by Bruno Haible
made this task much easier since I could diff the output and easily find
what changes had to be made [1].

Maybe you can use those scripts as inspiration and form a test suite
using some autoconf packages.

Collin

[1] 
https://git.savannah.gnu.org/cgit/gnulib/maint-tools.git/tree/gnulib-tool-tests

Reply via email to