Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > d88c7bb437f1a231687f3169871ec55f > files > 8

bootchart-0.14.0-1.3.git20110630.4.mga3.src.rpm

From d6e6eeff1bfef234fec3192fb714b05ed2daa476 Mon Sep 17 00:00:00 2001
From: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Date: Sat, 19 Mar 2011 13:34:47 +0100
Subject: [PATCH] Add Makefile target for executing pybootchartgui tests

---
 Makefile |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 17faada..c293a76 100644
--- a/Makefile
+++ b/Makefile
@@ -82,3 +82,10 @@ dist:
 	COMMIT_HASH=`git show-ref -s -h | head -n 1` ; \
 	git archive --prefix=$(PKG_NAME)-$(VER)/ --format=tar $$COMMIT_HASH \
 		| bzip2 -f > $(PKG_TARBALL)
+
+test: pybootchartgui/tests
+	for f in pybootchartgui/tests/*.py;\
+	do \
+		echo "Testing $$f...";\
+		$(PYTHON) "$$f";\
+	done