HTTPFile: handle multiple device failover correctly
[ruby-mogilefs-client.git] / GNUmakefile
blobdee7fd0a3f4f4439fc95448f19072ba61ca7856a
1 all:: test
2 SHELL = bash -e -o pipefail
3 O := $(shell echo $$$$)
5 T := $(wildcard test/test*.rb)
6 TO := $(subst .rb,.$(O).log, $(T))
8 test: $(TO)
9 @cat $^ | ruby test/aggregate.rb
10 @$(RM) $^
11 clean:
12 $(RM) test/*.log test/*.log+
14 t = $(basename $(notdir $<))
15 %.$(O).log: %.rb
16 @echo $(t); ruby -I lib $< $(TEST_OPTS) > $@+ 2>&1
17 @mv $@+ $@