Commit Graph

7 Commits

Author SHA1 Message Date
Benjamin Dauvergne 7e98aff1b7 Tests: fix __FILE__ -> __file__
* tests/integration/saml2/__init__.py:
   path to the current python file is __file__ not __FILE__.
2009-10-30 14:47:32 +00:00
Benjamin Dauvergne 563041cd07 Tests: add configuration file loading to integration test
* tests/integration/README:
 * tests/integration/saml2/__init__.py:
   If ~/.config/lasso_integration.conf exists, load it to find path to
   authentic and lcs.
   Add support for three environement variables:
    - LASSO_BUILDDIR, to specify an out of source build directory to
      test,
    - NO_SILENT, to allow authentic and lcs outputs,
    - VALGRIND, to check memory leaks using valgrind.
2009-08-27 12:07:40 +00:00
Benjamin Dauvergne 9197550e40 Tests: in integration test do not set the PYTHONPATH
* tests/integration/saml2/__init__.py:
   to permit using build directory different from the src directory, do
   not force the PYTHONPATH to be relative to src dir to find lasso
   python module.
2009-08-26 15:15:00 +00:00
Benjamin Dauvergne a4e03e7626 Add valgrind support to integration tests
* tests/integration/saml2/__init__.py:
   if /usr/bin/valgrind exist, use script valgrind-wrapper.sh to launch
   tests, it stores log files in {authentic,lcs}_$ISODATE_pid$PID.log.
2009-04-30 14:58:24 +00:00
Benjamin Dauvergne a820d71196 Increase wait time for integration test
* tests/integration/saml2/__init__.py:
   wait 5 seconds for dameons to start.
2009-04-27 14:31:50 +00:00
Frédéric Péters 3eca7c3fe8 initialize twill before servers, and pass over crashed servers on cleanup 2008-02-25 22:20:53 +00:00
Frédéric Péters 4f01ae30cf added integration tests to repository 2008-02-25 09:55:36 +00:00