[PATCH 05 of 11 FOR-REFERENCE] test-run-tests.t: test running a failing test
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Wed Jun 4 18:57:38 CDT 2014
On 06/04/2014 10:49 AM, Anurag Goel wrote:
> Following patch fixed the failure test error.
Nice. This now needs to be a proper patches with description and sent to
the list.
>
> diff -r f403482c459a tests/run-tests.py
> --- a/tests/run-tests.py Wed Jun 04 22:56:41 2014 +0530
> +++ b/tests/run-tests.py Wed Jun 04 23:10:59 2014 +0530
> @@ -1075,6 +1075,9 @@
>
> if self._options.first:
> self.stop()
> + else:
> + 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
>
--
Pierre-Yves David
More information about the Mercurial-devel
mailing list