From patchwork Tue Aug 5 15:22:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,3] test-run-tests.t: add tests for skips From: Augie Fackler X-Patchwork-Id: 5265 Message-Id: <90e315e934033502c918.1407252152@arthedain.pit.corp.google.com> To: mercurial-devel@selenic.com Date: Tue, 05 Aug 2014 11:22:32 -0400 # HG changeset patch # User Augie Fackler # Date 1406687759 14400 # Tue Jul 29 22:35:59 2014 -0400 # Node ID 90e315e934033502c91853ab6539f2c30dbf93d3 # Parent ad790b3574a52375f62a628d0dab2892b229e3fe test-run-tests.t: add tests for skips This will make some minor behavior changes in a future patch more obvious. diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t --- a/tests/test-run-tests.t +++ b/tests/test-run-tests.t @@ -247,3 +247,18 @@ # Producing time report cuser csys real Test \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} test-success.t (re) + +Skips +================ + $ cat > test-skip.t < $ echo xyzzy + > $ exit 80 + > EOF + $ $TESTDIR/run-tests.py --with-hg=`which hg` --nodiff + !.s + Skipped test-skip.t: irrelevant + Failed test-failure.t: output changed + # Ran 2 tests, 1 skipped, 0 warned, 1 failed. + python hash seed: * (glob) + [1] +