sysrwloop: make sure descriptors are flushed and synced
[ruby-mogilefs-client.git] / GNUmakefile
blob721e757de8d0b60f992bb44205da2aa413e12b2e
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)
18 .PHONY: $(T)