From 5b57d28ffb6e1ef86b50f7d05d977826eae89bfe Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 1 Feb 2019 22:55:37 +0000 Subject: initial population --- bin/ed/test/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bin/ed/test/Makefile (limited to 'bin/ed/test/Makefile') diff --git a/bin/ed/test/Makefile b/bin/ed/test/Makefile new file mode 100644 index 0000000..fe631a8 --- /dev/null +++ b/bin/ed/test/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.12 2003/10/26 03:50:07 lukem Exp $ + +.include + +ED?= ../obj/ed + +all: check + @: + +check: build test + @if grep -h '\*\*\*' errs.o scripts.o; then :; else \ + echo "tests completed successfully."; \ + fi + +build: mkscripts.sh + @if [ -f errs.o ]; then :; else \ + echo "building test scripts for $(ED) ..."; \ + ${HOST_SH} ${.CURDIR}/mkscripts.sh $(ED); \ + fi + +test: build ckscripts.sh + @echo testing $(ED) ... + @${HOST_SH} ckscripts.sh $(ED) + +clean: + rm -f *.ed *.red *.[oz] *~ + +.include -- cgit v1.2.3-70-g09d2