aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-02 10:16:12 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-02 10:16:12 +0100
commitb10aed674f795793f20162f45cd8a1707b308718 (patch)
treec562293c50d28d0f47a4fec05eddcbd77ee6d873 /src/dht
parent68ab49e28a51b4d877cbd37ad10868a482133c52 (diff)
downloadgnunet-b10aed674f795793f20162f45cd8a1707b308718.tar.gz
gnunet-b10aed674f795793f20162f45cd8a1707b308718.zip
set PATH during testcase
Diffstat (limited to 'src/dht')
-rw-r--r--src/dht/Makefile.am2
-rw-r--r--src/dht/test_dht_tools.py.in2
2 files changed, 3 insertions, 1 deletions
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 = \
254 test_dht_tools.py 254 test_dht_tools.py
255endif 255endif
256 256
257do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' 257do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' -e 's,[@]bindir[@],$(bindir),g'
258 258
259%.py: %.py.in Makefile 259%.py: %.py.in Makefile
260 $(do_subst) < $(srcdir)/$< > $@ 260 $(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
20import time 20import time
21import tempfile 21import tempfile
22 22
23os.environ["PATH"] = "@bindir@" + ":" + os.environ["PATH"];
24
23if os.name == "nt": 25if os.name == "nt":
24 tmp = os.getenv ("TEMP") 26 tmp = os.getenv ("TEMP")
25else: 27else: