From d5961c09842d6424bdba797039f7ff9dda45cb1c Mon Sep 17 00:00:00 2001 From: Daira Hopwood <daira@jacaranda.org> Date: Wed, 12 Dec 2012 07:18:55 +0000 Subject: [PATCH] Makefile: the timing for 'make tmpfstest' should exclude filesystem mounting/unmounting and entering the password if needed. Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org> --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fa1cda7f..1ee1ae5f 100644 --- a/Makefile +++ b/Makefile @@ -77,12 +77,12 @@ TMPFS_SIZE = 500m .PHONY: tmpfstest tmpfstest: - time make _tmpfstest 'TMPDIR=$(shell mktemp -d --tmpdir=.)' + make _tmpfstest 'TMPDIR=$(shell mktemp -d --tmpdir=.)' .PHONY: _tmpfstest _tmpfstest: make-version sudo mount -t tmpfs -o size=$(TMPFS_SIZE) tmpfs '$(TMPDIR)' - -$(TAHOE) debug trial --rterrors '--temp-directory=$(TMPDIR)/_trial_temp' $(TRIALARGS) $(TEST) + -time $(TAHOE) debug trial --rterrors '--temp-directory=$(TMPDIR)/_trial_temp' $(TRIALARGS) $(TEST) sudo umount '$(TMPDIR)' rmdir '$(TMPDIR)' -- 2.45.2