# HG changeset patch # User Pierre-Yves David # Date 1462472079 -7200 # Node ID 52cda77949f53c161735ba80f9f9f98aa0ff1db8 # Parent 60752ed8d2d43b54560294593dd8fe5d65f0fac7 test: improve skipped message for topic The skipped message should point people to a way to solve the situation. diff --git a/tests/test-evolve-topic.t b/tests/test-evolve-topic.t --- a/tests/test-evolve-topic.t +++ b/tests/test-evolve-topic.t @@ -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 < [defaults] > amend=-d "0 0"