summaryrefslogtreecommitdiff
path: root/src/peerinfo-tool
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2010-04-29 06:10:59 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2010-04-29 06:10:59 +0000
commitcc57cfa030d9a44fad09e9f7d957b5e2c725b00a (patch)
treefbc54f767ca7579fc7d5f9c4c293aa844fa42e5c /src/peerinfo-tool
parentc4e2aab3fe835e67fd2a5b27c348a524da12ad74 (diff)
Modified configure.ac to check for the python interpreter so that we can run test scripts with it. Also removed gnunet-daemon-migration which is a generated file.
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r--src/peerinfo-tool/Makefile.am4
-rwxr-xr-xsrc/peerinfo-tool/test_gnunet_peerinfo.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/peerinfo-tool/Makefile.am b/src/peerinfo-tool/Makefile.am
index 25885a34c..20f657b41 100644
--- a/src/peerinfo-tool/Makefile.am
+++ b/src/peerinfo-tool/Makefile.am
@@ -19,9 +19,9 @@ gnunet_peerinfo_LDADD = \
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la
-
if HAVE_PYTHON_PEXPECT
-check_SCRIPTS = \
+TESTS_ENVIRONMENT = $(PYTHON)
+TESTS = \
test_gnunet_peerinfo.py
endif
diff --git a/src/peerinfo-tool/test_gnunet_peerinfo.py b/src/peerinfo-tool/test_gnunet_peerinfo.py
index 804b4cb2a..bab59ee47 100755
--- a/src/peerinfo-tool/test_gnunet_peerinfo.py
+++ b/src/peerinfo-tool/test_gnunet_peerinfo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# This file is part of GNUnet.
# (C) 2010 Christian Grothoff (and other contributing authors)
#