test_backend: shorten timeout test
[ruby-mogilefs-client.git] / GNUmakefile
blob7009712ee975353850e1fd4de71a162653201c4a
1 all:: test
3 T := $(wildcard test/test*.rb)
4 TO := $(subst .rb,.log,$(T))
6 test: $(T)
7 @cat $(TO) | ruby test/aggregate.rb
8 @$(RM) $(TO)
9 clean:
10 $(RM) $(TO) $(addsuffix +,$(TO))
12 t = $(basename $(notdir $@))
13 t_log = $(subst .rb,.log,$@)
15 $(T):
16 @echo $(t); ruby -I lib $@ $(TEST_OPTS) > $(t_log)+ 2>&1
17 @mv $(t_log)+ $(t_log)
19 Manifest.txt:
20 git ls-files > $@+
21 mv $@+ $@
23 .PHONY: $(T) Manifest.txt