summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-24 14:29:19 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-24 14:29:19 +0000
commit28b8ebcfcb896668dcf89b01e0a3f8933b83392a (patch)
tree3ea2f04aa219b8af2972ab815dda76b6e2c6f13c /tools/regression
parent9d6012e9cff6568695d5687f1363e64284be1704 (diff)
downloadFreeBSD-src-28b8ebcfcb896668dcf89b01e0a3f8933b83392a.zip
FreeBSD-src-28b8ebcfcb896668dcf89b01e0a3f8933b83392a.tar.gz
I explicitly meant to not move any of this over to the new m4(1) framework,
even slightly. Grrr CVS.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/usr.bin/m4/Makefile2
-rw-r--r--tools/regression/usr.bin/m4/regress.sh11
2 files changed, 11 insertions, 2 deletions
diff --git a/tools/regression/usr.bin/m4/Makefile b/tools/regression/usr.bin/m4/Makefile
index b937d41..9903670 100644
--- a/tools/regression/usr.bin/m4/Makefile
+++ b/tools/regression/usr.bin/m4/Makefile
@@ -1,4 +1,4 @@
# $FreeBSD$
all:
- @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR}
+ @sh ${.CURDIR}/regress.sh ${.CURDIR}
diff --git a/tools/regression/usr.bin/m4/regress.sh b/tools/regression/usr.bin/m4/regress.sh
index 84f4fb5..b73d410 100644
--- a/tools/regression/usr.bin/m4/regress.sh
+++ b/tools/regression/usr.bin/m4/regress.sh
@@ -1,6 +1,13 @@
# $FreeBSD$
-REGRESSION_START($1)
+# Go into the regression test directory, handed to us by make(1)
+TESTDIR=$1
+if [ -z "$TESTDIR" ]; then
+ TESTDIR=.
+fi
+cd $TESTDIR
+
+STATUS=0
for test in GNU/changecom changecom; do
echo "Running test $test"
@@ -28,4 +35,6 @@ for test in GNU/changecom changecom; do
fi
done
+exit $STATUS
+
REGRESSION_END()
OpenPOWER on IntegriCloud