gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: set PATH during testcase


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: set PATH during testcase
Date: Thu, 02 Feb 2017 10:16:17 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new b10aed674 set PATH during testcase
b10aed674 is described below

commit b10aed674f795793f20162f45cd8a1707b308718
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Feb 2 10:16:12 2017 +0100

    set PATH during testcase
---
 src/dht/Makefile.am          | 2 +-
 src/dht/test_dht_tools.py.in | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am
index b4c03ba60..26beb300b 100644
--- a/src/dht/Makefile.am
+++ b/src/dht/Makefile.am
@@ -254,7 +254,7 @@ check_SCRIPTS = \
   test_dht_tools.py
 endif
 
-do_subst = $(SED) -e 's,address@hidden@],$(PYTHON),g'
+do_subst = $(SED) -e 's,address@hidden@],$(PYTHON),g' -e 
's,address@hidden@],$(bindir),g'
 
 %.py: %.py.in Makefile
        $(do_subst) < $(srcdir)/$< > $@
diff --git a/src/dht/test_dht_tools.py.in b/src/dht/test_dht_tools.py.in
index 9489d12c1..5ceabbfad 100644
--- a/src/dht/test_dht_tools.py.in
+++ b/src/dht/test_dht_tools.py.in
@@ -20,6 +20,8 @@ import subprocess
 import time
 import tempfile
 
+os.environ["PATH"] = "@bindir@" + ":" + os.environ["PATH"];
+
 if os.name == "nt":
   tmp = os.getenv ("TEMP")
 else:

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]