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/components/%22news.html/pb.xhtml?a=commitdiff_plain;h=448c4f2b382a6f800baf1ac92a7dceb6267de2c2;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 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)'