comparison tests/test-evolve-topic.t @ 1690:52cda77949f5

test: improve skipped message for topic The skipped message should point people to a way to solve the situation.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 05 May 2016 20:14:39 +0200
parents 548195454683
children 2ed06153217f
comparison
equal deleted inserted replaced
1689:60752ed8d2d4 1690:52cda77949f5
1 1
2 Check we can find the topic extensions 2 Check we can find the topic extensions
3 3
4 $ [ -e $TOPICROOT/hgext3rd/topic/__init__.py ] || exit 80 4 $ [ -z "$TOPICROOT" ] && echo 'skipped: $TOPICROOT not set' >&2 && exit 80
5 [1]
6 $ [ ! -e $TOPICROOT/hgext3rd/topic/__init__.py ] && echo 'skipped: no topic repo found at $TOPICROOT' >&2 && exit 80
7 [1]
5 $ cat >> $HGRCPATH <<EOF 8 $ cat >> $HGRCPATH <<EOF
6 > [defaults] 9 > [defaults]
7 > amend=-d "0 0" 10 > amend=-d "0 0"
8 > fold=-d "0 0" 11 > fold=-d "0 0"
9 > [phases] 12 > [phases]