From: Daira Hopwood <daira@jacaranda.org>
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/simplejson/install-details.html?a=commitdiff_plain;h=87075ff9bf064d82a375304f6d47469e82a3331e;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 <david-sarah@jacaranda.org>
---

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)'