From 54aa265915f305f688051bebf940fcbe000ddce2 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 28 May 2014 18:29:39 -0400 Subject: 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 --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile') 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 -- cgit