__init__ needs to be in the main package
[cascardo/ipsilon.git] / Makefile
index a0b78b1..f527641 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 RPMBUILD = $(PWD)/dist/rpmbuild
 
-all: lint pep8
+all: lint pep8 test
+       echo "All tests passed"
 
 lint:
        # Analyze code
@@ -57,13 +58,17 @@ wrappers:
 
 tests: wrappers
        PYTHONPATH=./ ./tests/tests.py --test=test1
+       PYTHONPATH=./ ./tests/tests.py --test=testlogout
        PYTHONPATH=./ ./tests/tests.py --test=attrs
        PYTHONPATH=./ ./tests/tests.py --test=trans
        PYTHONPATH=./ ./tests/tests.py --test=pgdb
        PYTHONPATH=./ ./tests/tests.py --test=fconf
 
-test: lp-test tests
+test: lp-test unittests tests
+
+unittests:
        PYTHONPATH=./ ./ipsilon/tools/saml2metadata.py
+       PYTHONPATH=./ python ./ipsilon/util/policy.py
 
 sdist:
        python setup.py sdist