From: David-Sarah Hopwood Date: Wed, 12 Dec 2012 07:18:55 +0000 (+0000) Subject: Makefile: the timing for 'make tmpfstest' should exclude filesystem X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/contact.html?a=commitdiff_plain;h=01c2b8459dfc88896910819b209f3b55fb97db5e;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: the timing for 'make tmpfstest' should exclude filesystem mounting/unmounting and entering the password if needed. Signed-off-by: David-Sarah Hopwood --- diff --git a/Makefile b/Makefile index 432de3e4..0f7f66c9 100644 --- a/Makefile +++ b/Makefile @@ -76,12 +76,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)'