Add Log class that can be inherited from safely
[cascardo/ipsilon.git] / Makefile
index d02a974..fc8795a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,29 @@ ui-node: less/ipsilon.less less/admin.less
        lessc --clean-css less/ipsilon.less ui/css/ipsilon.css
        lessc --clean-css less/admin.less ui/css/admin.css
 
+clean:
+       rm -fr testdir
+
+lp-test:
+       pylint -d c,r,i,W0613 -r n -f colorized \
+                  --notes= \
+                  --ignored-classes=cherrypy \
+                  ./tests
+       pep8 tests
+
+wrappers:
+       #rm -fr wrapdir
+       #mkdir wrapdir
+       #LD_PRELOAD=libsocket_wrapper.so
+       #SOCKET_WRAPPER_DIR=wrapdir
+       #SOCKET_WRAPPER_DEFAULT_IFACE=9
+
+tests: wrappers
+       PYTHONPATH=./ ./tests/tests.py --test=test1
+
+test: lp-test tests
+       PYTHONPATH=./ ./ipsilon/tools/saml2metadata.py
+
 sdist:
        python setup.py sdist