summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZhang Qiang <qiang.z.zhang@intel.com>2011-12-16 18:54:59 +0800
committerZhang Qiang <qiang.z.zhang@intel.com>2011-12-16 18:54:59 +0800
commitffe98af4b1a0841489a84e1b459432d07251ddd8 (patch)
tree324e186037df3927c79ebf09767eefa2ba359abe /Makefile
parent1e5133f0aa9864c0592fe0525b85c82251767a7a (diff)
downloadmic-ffe98af4b1a0841489a84e1b459432d07251ddd8.tar.gz
mic-ffe98af4b1a0841489a84e1b459432d07251ddd8.tar.bz2
mic-ffe98af4b1a0841489a84e1b459432d07251ddd8.zip
Unit test support
currently, unit test can cover plugin manager, config manager, baseimage (yum/zypp). run 'make test' at top dir can run unit test cases. Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 641188a..d742826 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,9 @@ install: build
develop: build
$(PYTHON) setup.py develop
+test:
+ cd tests/unittest/ && $(PYTHON) suite.py
+
clean:
rm -f *.tar.gz
rm -f *.tar.bz2