From: Christian Grothoff Date: Thu, 29 Apr 2010 09:15:05 +0000 (+0000) Subject: making py-tests work with amatus changes in fs X-Git-Tag: initial-import-from-subversion-38251~21961 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=610fe40c67d1b06cebbf4e63e5f6b9a4df38ec35;hp=cc57cfa030d9a44fad09e9f7d957b5e2c725b00a;p=oweals%2Fgnunet.git making py-tests work with amatus changes in fs --- 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) #