[med-svn] [python-mne] 25/52: adding test-profile target in Makefile

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:23:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to annotated tag v0.2
in repository python-mne.

commit af719ffb4144b497f95c90f2f9776cc0f075a956
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Sun Oct 2 22:48:08 2011 -0400

    adding test-profile target in Makefile
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index 0d69dde..4e02ec5 100755
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,10 @@ test-doc:
 test-coverage:
 	$(NOSETESTS) --with-coverage --cover-package=mne --cover-html --cover-html-dir=coverage
 
+test-profile:
+	$(NOSETESTS) --with-profile --profile-stats-file stats.pf mne
+	hotshot2dot stats.pf | dot -Tpng -o profile.png
+
 trailing-spaces:
 	find . -name "*.py" | xargs perl -pi -e 's/[ \t]*$$//'
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git



More information about the debian-med-commit mailing list