From: Brian Warner <warner@lothar.com>
Date: Tue, 17 Jul 2007 17:41:41 +0000 (-0700)
Subject: Makefile/check-memory: put all stats in ./memstats.out
X-Git-Url: https://git.rkrishnan.org/%5B/quickstart.html?a=commitdiff_plain;h=2aff1ccd44247183ef2e79e916acdf0de7f3439d;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile/check-memory: put all stats in ./memstats.out
---

diff --git a/Makefile b/Makefile
index 81209f0e..3871fae7 100644
--- a/Makefile
+++ b/Makefile
@@ -190,8 +190,11 @@ count-lines:
 	@grep TODO `find src -name '*.py' |grep -v /build/` | wc --lines
 
 check-memory: build
+	touch memstats.out
 	$(PP) $(PYTHON) src/allmydata/test/check_memory.py upload
+	cat _test_memory/stats.out >>memstats.out
 	$(PP) $(PYTHON) src/allmydata/test/check_memory.py upload-POST
+	cat _test_memory/stats.out >>memstats.out
 
 test-darcs-boringfile:
 	$(MAKE)