summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-05-28 18:29:39 -0400
committerSimo Sorce <simo@redhat.com>2014-06-04 10:26:34 -0400
commit54aa265915f305f688051bebf940fcbe000ddce2 (patch)
tree264d97cd156097dfec011f44deca8d484ffefe3a /Makefile
parentdcca975c45427c0176e882f158f816af0336ea43 (diff)
downloadipsilon.git-54aa265915f305f688051bebf940fcbe000ddce2.tar.gz
ipsilon.git-54aa265915f305f688051bebf940fcbe000ddce2.tar.xz
ipsilon.git-54aa265915f305f688051bebf940fcbe000ddce2.zip
Add basic testing infrastructure
make test will now run some sanity tests to make sure basic installation procedures work in a sinthetic test environment. Adds: - custom httpd setup for tests - use profiles to driver ipsilon servers and clients installation - starts multiple httpd servers This way we can test interaction between IDP and SP servers Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d02a974..439caa9 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,19 @@ 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
+
+test: lp-test
+ PYTHONPATH=./ ./ipsilon/tools/saml2metadata.py
+
sdist:
python setup.py sdist