Mercurial > hg-stable
changeset 21741:02cd29156d5d
test-run-tests.t: tests the --retest option
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 30 May 2014 12:11:17 -0700 |
parents | 2b3b60031b6f |
children | 66f91859822b |
files | tests/test-run-tests.t |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-run-tests.t Thu Jun 12 03:20:28 2014 +0530 +++ b/tests/test-run-tests.t Fri May 30 12:11:17 2014 -0700 @@ -42,3 +42,22 @@ # Ran 2 tests, 0 skipped, 0 warned, 1 failed. python hash seed: * (glob) [1] + +test for --retest +==================== + + $ $TESTDIR/run-tests.py --with-hg=`which hg` --retest + + --- $TESTTMP/test-failure.t + +++ $TESTTMP/test-failure.t.err + @@ -1,2 +1,2 @@ + $ echo babar + - rataxes + + babar + + ERROR: test-failure.t output changed + ! + Failed test-failure.t: output changed + # Ran 1 tests, 1 skipped, 0 warned, 1 failed. + python hash seed: * (glob) + [1]