changeset 2828:fa2deeb5dd03 stable

test: setup python path for topic tests This make thing simpler and clearer.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 09 Aug 2017 12:52:06 +0200
parents 498409c72dd2
children 1c529afd3fef
files tests/testlib/topic_setup.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testlib/topic_setup.sh	Thu Jul 27 17:38:37 2017 +0200
+++ b/tests/testlib/topic_setup.sh	Wed Aug 09 12:52:06 2017 +0200
@@ -1,4 +1,5 @@
 #!/bin/sh
+. $TESTDIR/testlib/pythonpath.sh
 
 # This file holds logic that is used in many tests.
 # It can be called in a test like this:
@@ -11,5 +12,5 @@
 
 [extensions]
 rebase=
+topic=
 EOF
-echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic" >> $HGRCPATH