1#SHELL=/bin/bash 2 3all-tests: test-initial \ 4 test-rmdel \ 5 test-admin test-delta test-get test-prs test-prt test-unget \ 6 test-cdc test-sact test-val \ 7 test-large test-sccsdiff test-binary test-bsd-sccs test-what \ 8 test-year-2000 9 echo Tests passed. 10 11test-initial: 12 cd initial && for i in *.sh; do echo Running test initial/$$i; $(SHELL) $$i; done 13 14test-rmdel: 15 cd rmdel && for i in *.sh; do echo Running test rmdel/$$i; $(SHELL) $$i; done 16 17test-admin: 18 cd admin && for i in *.sh; do echo Running test admin/$$i; $(SHELL) $$i; done 19 20test-delta: 21 cd delta && for i in *.sh; do echo Running test delta/$$i; $(SHELL) $$i; done 22 23test-get: 24 cd get && for i in *.sh; do echo Running test get/$$i; $(SHELL) $$i; done 25 26test-prs: 27 cd prs && for i in *.sh; do echo Running test prs/$$i; $(SHELL) $$i; done 28 29test-prt: 30 cd prt && for i in *.sh; do echo Running test prt/$$i; $(SHELL) $$i; done 31 32test-unget: 33 cd unget && for i in *.sh; do echo Running test unget/$$i; $(SHELL) $$i; done 34 35test-cdc: 36 cd cdc && for i in *.sh; do echo Running test cdc/$$i; $(SHELL) $$i; done 37 38test-sact: 39 cd sact && for i in *.sh; do echo Running test sact/$$i; $(SHELL) $$i; done 40 41test-val: 42 cd val && for i in *.sh; do echo Running test val/$$i; $(SHELL) $$i; done 43 44test-large: 45 cd large && for i in *.sh; do echo Running test large/$$i; $(SHELL) $$i; done 46 47test-sccsdiff: 48 cd sccsdiff && for i in *.sh; do echo Running test sccsdiff/$$i; $(SHELL) $$i; done 49 50test-binary: 51 cd binary && for i in *.sh; do echo Running test binary/$$i; $(SHELL) $$i; done 52 53test-bsd-sccs: 54 cd bsd-sccs && for i in *.sh; do echo Running test bsd-sccs/$$i; $(SHELL) $$i; done 55 56# 57# what/whatbasic.sh may fail on HP-UX because of the low ARG_MAX limit 58# Allow to continue in this case 59# 60test-what: 61 cd what && for i in *.sh; do echo Running test what/$$i; $(SHELL) $$i || echo "whatbasic.sh may fail on HP-UX because of the low ARG_MAX limit"; done 62 63test-year-2000: 64 cd year-2000 && for i in *.sh; do echo Running test year-2000/$$i; $(SHELL) $$i; done 65 66