Re: [PATCH v3 3/8] test-lib: rearrange start/end of test_expect_* and test_skip

2013-06-18 Thread Junio C Hamano
Thomas Rast writes: > diff --git a/t/test-lib.sh b/t/test-lib.sh > index 4fa141a..e99b0ea 100644 > --- a/t/test-lib.sh > +++ b/t/test-lib.sh > @@ -369,8 +369,15 @@ test_run_ () { > return "$eval_ret" > } > > -test_skip () { > +test_start_ () { > test_count=$(($test_count+1)) > +} >

[PATCH v3 3/8] test-lib: rearrange start/end of test_expect_* and test_skip

2013-06-18 Thread Thomas Rast
This moves * the early setup part from test_skip to a new function test_start_ * the final common parts of test_expect_* to a new function test_finish_ to make the next commit more obvious. Signed-off-by: Thomas Rast --- t/test-lib-functions.sh | 6 -- t/test-lib.sh | 9 ++