From: David-Sarah Hopwood <david-sarah@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/frontends/$rel_link?a=commitdiff_plain;h=5438f4b35b9557be7d175c4ab13b081f4f78e754;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 be3cd21b..eb9c701d 100644
--- a/Makefile
+++ b/Makefile
@@ -68,11 +68,11 @@ quicktest: make-version
 TMPFS_SIZE = 500m
 
 tmpfstest:
-	time make _tmpfstest 'TMPDIR=$(shell mktemp -d --tmpdir=.)'
+	make _tmpfstest 'TMPDIR=$(shell mktemp -d --tmpdir=.)'
 
 _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)'