Fix m4 tests so that they run cleanly with prove.

This commit is contained in:
jmmv 2014-03-09 19:25:53 +00:00
parent 3b592f9410
commit 2555572f0c
3 changed files with 4 additions and 3 deletions

View File

@ -1 +1,2 @@
m4: gnusofterror.m4 at line 3: include(hey I do not exit): No such file or directory
abc

View File

@ -2,7 +2,7 @@
LC_ALL=C; export LC_ALL
echo 1..22
echo 1..21
REGRESSION_START($1)
@ -17,7 +17,7 @@ REGRESSION_TEST(`gnuformat', `m4 -g gnuformat.m4')
REGRESSION_TEST(`gnupatterns', `m4 -g gnupatterns.m4')
REGRESSION_TEST(`gnupatterns2', `m4 -g gnupatterns2.m4')
REGRESSION_TEST(`gnuprefix', `m4 -P gnuprefix.m4 2>&1')
REGRESSION_TEST(`gnusofterror', `m4 -g gnusofterror.m4')
REGRESSION_TEST(`gnusofterror', `m4 -g gnusofterror.m4 2>&1')
REGRESSION_TEST(`gnutranslit2', `m4 -g translit2.m4')
REGRESSION_TEST(`includes', `m4 -I. includes.m4')
REGRESSION_TEST(`m4wrap3', `m4 m4wrap3.m4')

View File

@ -3,4 +3,4 @@
cd `dirname $0`
sh regress.sh
m4 ../regress.m4 regress.sh | sh