[PATCH 2/6] adding make tasks to the agent for testing and measuring test coverage
Dan Radez
dradez at redhat.com
Wed Dec 14 19:02:05 UTC 2011
---
agent/Makefile | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/agent/Makefile b/agent/Makefile
index 6f60023..fd53aca 100644
--- a/agent/Makefile
+++ b/agent/Makefile
@@ -93,4 +93,12 @@ clean:
test_toolinglog test_toolinguser \
toolinglog toolinguser
+# run tests
+test: audrey_agent.py
+ coverage run test_audrey_agent.py
+
+# report coverage
+coverage: test
+ coverage report -m audrey_agent.py
+
.PHONY: dist check rpms srpms
--
1.7.7.4
More information about the aeolus-devel
mailing list