From 610fe40c67d1b06cebbf4e63e5f6b9a4df38ec35 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 29 Apr 2010 09:15:05 +0000 Subject: [PATCH] making py-tests work with amatus changes in fs --- src/fs/Makefile.am | 5 +++++ src/fs/test_gnunet_fs_idx.py | 2 +- src/fs/test_gnunet_fs_ns.py | 2 +- src/fs/test_gnunet_fs_psd.py | 2 +- src/fs/test_gnunet_fs_rec.py | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index 3d825ff10..d18d06dd7 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am @@ -131,7 +131,12 @@ check_PROGRAMS = \ test_fs_uri \ test_gnunet_service_fs_p2p + if HAVE_PYTHON_PEXPECT +TEST_EXTENSIONS = .py +PY_LOG_COMPILER = $(PYTHON) +AM_PY_LOG_FLAGS = -v + check_SCRIPTS = \ test_gnunet_fs_psd.py \ test_gnunet_fs_rec.py \ diff --git a/src/fs/test_gnunet_fs_idx.py b/src/fs/test_gnunet_fs_idx.py index 1338d62f8..267d9f2a5 100755 --- a/src/fs/test_gnunet_fs_idx.py +++ b/src/fs/test_gnunet_fs_idx.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) # diff --git a/src/fs/test_gnunet_fs_ns.py b/src/fs/test_gnunet_fs_ns.py index 1aca4adb0..616b52a29 100755 --- a/src/fs/test_gnunet_fs_ns.py +++ b/src/fs/test_gnunet_fs_ns.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) # diff --git a/src/fs/test_gnunet_fs_psd.py b/src/fs/test_gnunet_fs_psd.py index 2a14797b9..bb00ba5d1 100755 --- a/src/fs/test_gnunet_fs_psd.py +++ b/src/fs/test_gnunet_fs_psd.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) # diff --git a/src/fs/test_gnunet_fs_rec.py b/src/fs/test_gnunet_fs_rec.py index 0317e470e..62189af32 100755 --- a/src/fs/test_gnunet_fs_rec.py +++ b/src/fs/test_gnunet_fs_rec.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) # -- 2.25.1