Fix: create folder for testfiles
This commit is contained in:
parent
859be7d54e
commit
5c73cccba2
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ md2: ${OBJ}
|
||||||
${CC} -o $@ $(OBJ) ${LDFLAGS}
|
${CC} -o $@ $(OBJ) ${LDFLAGS}
|
||||||
|
|
||||||
t/%:
|
t/%:
|
||||||
|
@mkdir t
|
||||||
@echo
|
@echo
|
||||||
@echo "=== Generating ${subst t/,,$@}MB of random data... ==="
|
@echo "=== Generating ${subst t/,,$@}MB of random data... ==="
|
||||||
dd if=/dev/random of=$@ bs=1M count=${subst t/,,$@} status=progress
|
dd if=/dev/random of=$@ bs=1M count=${subst t/,,$@} status=progress
|
||||||
|
@ -67,4 +68,4 @@ benchmarks.csv: md2 ${TESTFILES}
|
||||||
|
|
||||||
benchmarks: benchmarks.csv
|
benchmarks: benchmarks.csv
|
||||||
|
|
||||||
.PHONY: all clean help benchmarks
|
.PHONY: all clean help benchmarks
|
||||||
|
|
Loading…
Reference in a new issue