On Aug 22, 2012, at 11:44 PM, David Carr wrote:
> Is there a particular reason that the test suite is currently using
> separate files for test scripts and their expected output? Personally, I
> find the unified ".t" format, where the test script and its expected output
> are stored in a single file, to be much easier to read, understand, and
> update. In particular, it's easier to see which command is resulting in
> which output without having to inject additional echo statements or
> something similar. We might also be able to eliminate some of the sed
> expressions by using the unified test format's support for filtering
> outputs with regular expressions.
.t files are the modern solution, but the way we perform all-version-tests means that any test that needs to run before .t was introduced in run-tests.py needs to stay non-unified. That might be the right justification to drop older versions of hg.
[backlog = high, still planning to review patches]
>
> It looks like it should be easy to upgrade the copy of run-tests.py, and
> then possible to convert the existing tests one at a time to the new
> format. If there's interest, I'd be happy to assemble a series of patches
> in this direction.
>
> --
> You received this message because you are subscribed to the Google Groups "hg-git" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/hg-git/-/4Vnw3c230boJ.
> To post to this group, send email to
hg-...@googlegroups.com.
> To unsubscribe from this group, send email to
hg-git+un...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/hg-git?hl=en.
>