From: nobu.nokada@... Date: 2004-05-25T13:17:16+09:00 Subject: Re: Autogenerating test targets with mkmf Hi, At Tue, 25 May 2004 12:48:09 +0900, Daniel Berger wrote in [ruby-core:02945]: > I mentioned this on ruby-talk but no one responded, so > perhaps it's more appropriate here. A long time ago I > suggested the notion of autogenerating test targets > with mkmf along the lines of Perl's Makemaker module. > In other words "make test" would automatically run a > test.rb file and/or any tc_* files under the 'test' > directory (or whatever). Like this? test: $(DLLIB) $(RUBY) -rtest/unit -e "$$:.unshift(Dir.pwd)" \ -e "exit Test::Unit::AutoRunner.run" $(srcdir)/test -- Nobu Nakada