Mercurial > evolve
changeset 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 | 60752ed8d2d4 |
children | 2ed06153217f |
files | tests/test-evolve-topic.t |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-evolve-topic.t Mon May 02 18:40:21 2016 +0200 +++ b/tests/test-evolve-topic.t Thu May 05 20:14:39 2016 +0200 @@ -1,7 +1,10 @@ Check we can find the topic extensions - $ [ -e $TOPICROOT/hgext3rd/topic/__init__.py ] || exit 80 + $ [ -z "$TOPICROOT" ] && echo 'skipped: $TOPICROOT not set' >&2 && exit 80 + [1] + $ [ ! -e $TOPICROOT/hgext3rd/topic/__init__.py ] && echo 'skipped: no topic repo found at $TOPICROOT' >&2 && exit 80 + [1] $ cat >> $HGRCPATH <<EOF > [defaults] > amend=-d "0 0"