1 # use GNU Make to run tests in parallel, and without depending on Rubygems
4 T
:= $(wildcard test/test*.rb
)
5 TO
:= $(subst .rb
,.log
,$(T
))
8 @cat
$(TO
) | ruby
test/aggregate.rb
11 $(RM
) $(TO
) $(addsuffix +,$(TO
))
13 t
= $(basename $(notdir $@
))
14 t_log
= $(subst .rb
,.log
,$@
)
17 @echo
$(t
); ruby
-I lib
$@
$(TEST_OPTS
) > $(t_log
)+ 2>&1
18 @mv
$(t_log
)+ $(t_log
)
24 .PHONY
: $(T
) Manifest.txt