diff options
author | alm <alm@FreeBSD.org> | 1994-02-01 00:36:28 +0000 |
---|---|---|
committer | alm <alm@FreeBSD.org> | 1994-02-01 00:36:28 +0000 |
commit | 26c84d7dc70d00b072b13a5757625006586fdede (patch) | |
tree | c82867e2169de15c590a9d6a1c65adf6483131e8 /bin/ed/test/Makefile | |
parent | 40ec390772e2e083a7986558226c3cc6b72c7378 (diff) | |
download | FreeBSD-src-26c84d7dc70d00b072b13a5757625006586fdede.zip FreeBSD-src-26c84d7dc70d00b072b13a5757625006586fdede.tar.gz |
Fixed range address bug: 1,2, == 2,2 not 2,.
Overhauled the name space, reworked some modules and removed the
obsolescent Addison-Wesley copyright.
Diffstat (limited to 'bin/ed/test/Makefile')
-rw-r--r-- | bin/ed/test/Makefile | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/bin/ed/test/Makefile b/bin/ed/test/Makefile index ca45a51..84166c1 100644 --- a/bin/ed/test/Makefile +++ b/bin/ed/test/Makefile @@ -1,17 +1,23 @@ +SHELL= /bin/sh ED= ../obj/ed -all: build test - @echo done +all: check + @: + +check: build test + @if grep -h '\*\*\*' errs.o scripts.o; then :; else \ + echo "tests completed successfully."; \ + fi build: mkscripts.sh - @echo building test scripts... - @chmod +x mkscripts.sh - @./mkscripts.sh ${ED} + @if [ -f errs.o ]; then :; else \ + echo "building test scripts for $(ED) ..."; \ + $(SHELL) mkscripts.sh $(ED); \ + fi test: build ckscripts.sh - @echo running test scripts... - @chmod +x ckscripts.sh - @./ckscripts.sh ${ED} + @echo testing $(ED) ... + @$(SHELL) ckscripts.sh $(ED) clean: - rm -f *.ed *.[oz] *~ + rm -f *.ed *.red *.[oz] *~ |