Deleted Added
full compact
regress.sh (262953) regress.sh (263227)
1# $FreeBSD: head/tools/regression/usr.bin/m4/regress.sh 262953 2014-03-09 19:25:53Z jmmv $
1# $FreeBSD: head/usr.bin/m4/tests/regress.sh 263227 2014-03-16 08:04:06Z jmmv $
2
2
3LC_ALL=C; export LC_ALL
4
5echo 1..21
6
3echo 1..21
4
5test_m4() {
6 m4 "${@}" 2>&1 | sed -e "s,${SRCDIR}/,,g"
7}
8
7REGRESSION_START($1)
8
9REGRESSION_START($1)
10
9REGRESSION_TEST(`args', `m4 args.m4')
10REGRESSION_TEST(`args2', `m4 args2.m4')
11REGRESSION_TEST(`comments', `m4 comments.m4')
12REGRESSION_TEST(`esyscmd', `m4 esyscmd.m4')
13REGRESSION_TEST(`eval', `m4 eval.m4')
14REGRESSION_TEST(`ff_after_dnl', `uudecode -o /dev/stdout ff_after_dnl.m4.uu | m4')
15REGRESSION_TEST(`gnueval', `m4 -g gnueval.m4')
16REGRESSION_TEST(`gnuformat', `m4 -g gnuformat.m4')
17REGRESSION_TEST(`gnupatterns', `m4 -g gnupatterns.m4')
18REGRESSION_TEST(`gnupatterns2', `m4 -g gnupatterns2.m4')
19REGRESSION_TEST(`gnuprefix', `m4 -P gnuprefix.m4 2>&1')
20REGRESSION_TEST(`gnusofterror', `m4 -g gnusofterror.m4 2>&1')
21REGRESSION_TEST(`gnutranslit2', `m4 -g translit2.m4')
22REGRESSION_TEST(`includes', `m4 -I. includes.m4')
23REGRESSION_TEST(`m4wrap3', `m4 m4wrap3.m4')
24REGRESSION_TEST(`patterns', `m4 patterns.m4')
25REGRESSION_TEST(`quotes', `m4 quotes.m4 2>&1')
26REGRESSION_TEST(`strangequotes', `uudecode -o /dev/stdout strangequotes.m4.uu | m4')
27REGRESSION_TEST(`redef', `m4 redef.m4')
28REGRESSION_TEST(`translit', `m4 translit.m4')
29REGRESSION_TEST(`translit2', `m4 translit2.m4')
11REGRESSION_TEST(`args', `test_m4 ${SRCDIR}/args.m4')
12REGRESSION_TEST(`args2', `test_m4 ${SRCDIR}/args2.m4')
13REGRESSION_TEST(`comments', `test_m4 ${SRCDIR}/comments.m4')
14REGRESSION_TEST(`esyscmd', `test_m4 ${SRCDIR}/esyscmd.m4')
15REGRESSION_TEST(`eval', `test_m4 ${SRCDIR}/eval.m4')
16REGRESSION_TEST(`ff_after_dnl', `uudecode -o /dev/stdout ${SRCDIR}/ff_after_dnl.m4.uu | m4')
17REGRESSION_TEST(`gnueval', `test_m4 -g ${SRCDIR}/gnueval.m4')
18REGRESSION_TEST(`gnuformat', `test_m4 -g ${SRCDIR}/gnuformat.m4')
19REGRESSION_TEST(`gnupatterns', `test_m4 -g ${SRCDIR}/gnupatterns.m4')
20REGRESSION_TEST(`gnupatterns2', `test_m4 -g ${SRCDIR}/gnupatterns2.m4')
21REGRESSION_TEST(`gnuprefix', `test_m4 -P ${SRCDIR}/gnuprefix.m4 2>&1')
22REGRESSION_TEST(`gnusofterror', `test_m4 -g ${SRCDIR}/gnusofterror.m4 2>&1')
23REGRESSION_TEST(`gnutranslit2', `test_m4 -g ${SRCDIR}/translit2.m4')
24REGRESSION_TEST(`includes', `test_m4 -I${SRCDIR} ${SRCDIR}/includes.m4')
25REGRESSION_TEST(`m4wrap3', `test_m4 ${SRCDIR}/m4wrap3.m4')
26REGRESSION_TEST(`patterns', `test_m4 ${SRCDIR}/patterns.m4')
27REGRESSION_TEST(`quotes', `test_m4 ${SRCDIR}/quotes.m4 2>&1')
28REGRESSION_TEST(`strangequotes', `uudecode -o /dev/stdout ${SRCDIR}/strangequotes.m4.uu | m4')
29REGRESSION_TEST(`redef', `test_m4 ${SRCDIR}/redef.m4')
30REGRESSION_TEST(`translit', `test_m4 ${SRCDIR}/translit.m4')
31REGRESSION_TEST(`translit2', `test_m4 ${SRCDIR}/translit2.m4')
30
31REGRESSION_END()
32
33REGRESSION_END()