From: François Pinard Date: Tue, 19 Feb 2008 02:55:13 +0000 (-0500) Subject: tests/test-one added X-Git-Tag: v3.7-beta1~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17ce64dbdd165d2c17f9d207bc736c37ec3531ee;p=recode tests/test-one added --- diff --git a/tests/test-one b/tests/test-one new file mode 100755 index 0000000..9746cac --- /dev/null +++ b/tests/test-one @@ -0,0 +1,17 @@ +#!/bin/sh +# Execute a suite made up of one, or only a few `m4' files. +# Copyright © 1998 Progiciels Bourbeau-Pinard inc. +# François Pinard , 1998. + +if test -f atconfig; then + . ./atconfig +else + echo >&2 'Execute from the testing directory in the build hierarchy.' + echo >&2 ' (a typical call is: ../../tests/test-one t-exclude.m4).' + exit 1 +fi + +grep AT_INIT $at_srcdir/suite.m4 \ +| m4 -I $at_srcdir atgeneral.m4 - $* | cat -s > one + +sh one