From 1220e4590f7919ad9499b904616e7d95b226a8b2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 20 Oct 2009 21:38:20 -0700 Subject: tests: avoid needlessly remaking "rainbows" The cmp test was completely unnecessary and pointless. --- t/GNUmakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/GNUmakefile b/t/GNUmakefile index 552f9d0..16f6e36 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -55,8 +55,7 @@ test-bin-$(RUBY_VERSION)/rainbows: ../bin/rainbows mkdir -p $(@D) install -m 755 $^ $@+ $(ruby) -i -p -e '$$_.gsub!(%r{^#!.*$$},"#!$(ruby_bin)")' $@+ - cmp $@+ $@ 2>/dev/null || mv $@+ $@ - $(RM) $@+ + mv $@+ $@ req_random_blob := $(wildcard t?1??-*.sh) random_blob: -- cgit v1.2.3-24-ge0c7