[PATCH 2 of 2 V2 stable] run-tests: produce '!' mark after running a failing test

Kevin Bullock kbullock+mercurial at ringworld.org
Wed Jun 11 21:53:41 CDT 2014


On Jun 11, 2014, at 3:17 PM, Anurag Goel <anurag.dsps at gmail.com> wrote:

> # HG changeset patch
> # User anuraggoel <anurag.dsps at gmail.com>
> # Date 1402516702 -19800
> #      Thu Jun 12 01:28:22 2014 +0530
> # Node ID f0289a8e8980ddcd5ba05a247ddb62b17cbb6e21
> # Parent  855d92fb3d2328f7c11d57809350e00cbb256633
> run-tests: produce '!' mark after running a failing test
> 
> This patch  fixes a regression recently introduced by a refactoring.
> '!' mark denotes that the test gets failed while testing.

Same thing here: can you mention (by short hash) which change set caused the regression?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock

> diff -r 855d92fb3d23 -r f0289a8e8980 tests/run-tests.py
> --- a/tests/run-tests.py	Thu Jun 12 01:13:14 2014 +0530
> +++ b/tests/run-tests.py	Thu Jun 12 01:28:22 2014 +0530
> @@ -1078,6 +1078,7 @@
>         else:
>             if not self._options.nodiff:
>                 self.stream.write('\nERROR: %s output changed\n' % test)
> +            self.stream.write('!')
> 
>     def addError(self, *args, **kwargs):
>         super(TestResult, self).addError(*args, **kwargs)
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list