about summary refs log tree commit homepage
path: root/t/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-06 00:48:04 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-06 00:48:55 -0700
commita83f898b9faf193698185a89762d8eac08cc7736 (patch)
tree516545f5d481b7837bf8ec94af1d71f9fa1a265e /t/GNUmakefile
parent6a08ae739570ec49046b48339a84997c3bff0cbb (diff)
downloadrainbows-a83f898b9faf193698185a89762d8eac08cc7736.tar.gz
We don't need to repeatedly waste cycles and memory
bandwidth to generate random throwaway data.
Diffstat (limited to 't/GNUmakefile')
-rw-r--r--t/GNUmakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile
index 50b1867..76776da 100644
--- a/t/GNUmakefile
+++ b/t/GNUmakefile
@@ -56,6 +56,13 @@ test-bin-$(RUBY_VERSION)/rainbows: ../bin/rainbows
         cmp $@+ $@ 2>/dev/null || mv $@+ $@
         $(RM) $@+
 
+req_random_blob := t3100-revactor-tee-input
+random_blob:
+        dd if=/dev/urandom bs=1M count=10 of=$@+
+        mv $@+ $@
+
+$(addsuffix .sh,$(req_random_blob)): random_blob
+
 $(T): export ruby := $(ruby)
 $(T): export PATH := $(CURDIR)/test-bin-$(RUBY_VERSION):$(PATH)
 $(T): test-bin-$(RUBY_VERSION)/rainbows