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/%5B/frontends/flags/configuration.rst?a=commitdiff_plain;h=158cbb362edde9c91f9ab2207bb4ac41d0be311a;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 e513d3af..6943b830 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)'