diff tests/testlib/topic_setup.sh @ 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 db617700d318
children 044ce00dfa88
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