summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-06-16 16:26:31 -0400
committerSimo Sorce <simo@redhat.com>2014-06-17 14:51:44 -0400
commitfca4035996c93f8f05ea3837133961e28a1248d6 (patch)
treef8909f1ec4c77ea4b0f65ff23f2ff237947ac795 /Makefile
parentb2e02899bf037e26a572e6ea53dce37c9f8b0ee0 (diff)
downloadipsilon-fca4035996c93f8f05ea3837133961e28a1248d6.tar.gz
ipsilon-fca4035996c93f8f05ea3837133961e28a1248d6.tar.xz
ipsilon-fca4035996c93f8f05ea3837133961e28a1248d6.zip
Change test executables into modules
Create a common tests framework and convert tests into modules loaded at runtime using the ipsilon plugin framework. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0d7e01a..fc8795a 100644
--- a/Makefile
+++ b/Makefile
@@ -39,9 +39,18 @@ lp-test:
./tests
pep8 tests
-test: lp-test
+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
- ./tests/tests.py --test=test1
sdist:
python setup.py sdist