On Sun, Mar 02, 2025 at 10:46:26PM +0100, Patrice Dumas wrote:
> Hello,
> 
> The format of the test in tta/perl/t/*.t is going to change, replacing
> Perl tree structure with a textual representation of the tree, which
> should contain the same information.  The corresponding commit will be a
> big commit, and we cannot really know if there is gonna be some errors
> in the new trees as nobody will check that the old and new representation
> match for all the tests, but everything I had a look at looked good.

Are you generating the new representation from the old representation
using a Perl program, or generating the new representation anew by
running the tests?  If the former there would be less chance of an
unnoticed change.  But as the main program itself is not changing, I
think there is little chance of a bug being introduced either way.


> 
> Something else new for the test suite is that if the Perl Text::Diff
> module is installed, checked at runtime, the comparisons of old and new
> results for text can use a diff instead of showing expected and obtained.
> In general the diff should be more readable.
> 
> -- 
> Pat
> 

Reply via email to