1#ident "@(#)Makefile 1.6 20/05/24 " 2########################################################################### 3tests: # Make "tests" the default target 4########################################################################### 5SRCROOT= ../.. 6RULESDIR= RULES 7include $(SRCROOT)/$(RULESDIR)/rules.top 8########################################################################### 9 10all-tests tests: test-artype \ 11 test-basic \ 12 test-compress \ 13 test-pax \ 14 test-port \ 15 test-incr \ 16 17 echo Tests passed. 18 19test-artype: 20 cd artype && for i in *.sh; do echo Running test artype/$$i; $(SHELL) $$i; done 21test-basic: 22 cd basic && for i in *.sh; do echo Running test basic/$$i; $(SHELL) $$i; done 23test-compress: 24 cd compress && for i in *.sh; do echo Running test compress/$$i; $(SHELL) $$i; done 25test-pax: 26 cd pax && for i in *.sh; do echo Running test pax/$$i; $(SHELL) $$i; done 27test-port: 28 cd port && for i in *.sh; do echo Running test port/$$i; $(SHELL) $$i; done 29test-incr: 30 cd incremental && for i in *.sh; do echo Running test incremental/$$i; $(SHELL) $$i; done 31