From 6cecc808e5552f3220b97033306e42ce152908bb Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 7 Nov 2015 17:34:53 +0200 Subject: Include gnulib as a submodule. Fix testsuite. Guile 2.x outputs spurious diagnostics to stderr when compiling input files. The only way to disable it is to disable compilation by setting environment variable GUILE_AUTO_COMPILE to 0. However, even if compilation is disabled, Guile still checks whether the compiled file exists and complains on stderr if it is older than the input file. This diagnostics begins with ;;;. Delete this using sed prior to comparing stderr with the expected text. * .gitmodules: Add gnulib * gnulib: New module. * bootstrap: Update from gnulib * gint: Upgrade. * scheme/idest/batch/setlyrics.scm: Fix typo. * src/Makefile.am: Use AM_CPPFLAGS instead of obsolete includes. * tests/atlocal.in: Set GUILE_AUTO_COMPILE=0 * tests/testsuite.at (WITH_GUILE): New macro. * tests/delcomm.at: Use WITH_GUILE. * tests/fmt-shortlist.at: Likewise. * tests/framelist00.at: Likewise. * tests/framelist01.at: Likewise. * tests/framelist02.at: Likewise. * tests/list1.at: Likewise. * tests/list2.at: Likewise. * tests/lyrics00.at: Likewise. * tests/pic00.at: Likewise. * tests/pic01.at: Likewise. * tests/script00.at: Likewise. * tests/script01.at: Likewise. * tests/script02.at: Likewise. * tests/script03.at: Likewise. * tests/script04.at: Likewise. * tests/script05.at: Likewise. * tests/script06.at: Likewise. * tests/script07.at: Likewise. * tests/script08.at: Likewise. * tests/setlyrics.at: Likewise. * tests/setpic.at: Likewise. * tests/settitle.at: Likewise. * tests/shortlist.at: Likewise. --- tests/script08.at | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/script08.at') diff --git a/tests/script08.at b/tests/script08.at index d48e470..8ff78f7 100644 --- a/tests/script08.at +++ b/tests/script08.at @@ -1,5 +1,5 @@ # This file is part of idest -*- autotest -*- -# Copyright (C) 2011 Sergey Poznyakoff +# Copyright (C) 2011, 2015 Sergey Poznyakoff # # Idest is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ AT_DATA([delpic.scm], ]) AT_CHECK([ -PREREQ_GUILE +WITH_GUILE([ genfile -f file -p $abs_srcdir/id3v2 10k cp file file.bak $INSTALL_PROG -d scheme/idest/batch @@ -36,7 +36,7 @@ $INSTALL_PROG delpic.scm scheme/idest/batch echo dry run subdir=`pwd`/scheme idest -N -p $abs_top_srcdir/scheme:$subdir -n --batch delpic file | - sed "s|$subdir|subdir|;s|$abs_top_srcdir|abs_top_srcdir|" + sed "s|$subdir|subdir|;s|$abs_top_srcdir|abs_top_srcdir|"]) echo cmp cmp file.bak file ], -- cgit v1.2.1