diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-08-27 12:07:40 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-08-27 12:07:40 +0000 |
| commit | 563041cd074876fc6e1539a470adfbfd93a378d3 (patch) | |
| tree | b8813d8732aef81659ebb33879bdfd2e50a4e362 /tests/integration/README | |
| parent | b48c07516446f56cb62e00a37a157fbdb41ef280 (diff) | |
| download | lasso-563041cd074876fc6e1539a470adfbfd93a378d3.tar.gz lasso-563041cd074876fc6e1539a470adfbfd93a378d3.tar.xz lasso-563041cd074876fc6e1539a470adfbfd93a378d3.zip | |
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.
Diffstat (limited to 'tests/integration/README')
| -rw-r--r-- | tests/integration/README | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/integration/README b/tests/integration/README index cbc9cc61..da72cfd7 100644 --- a/tests/integration/README +++ b/tests/integration/README @@ -6,10 +6,20 @@ Requirements: - nose (apt-get install python-nose) - Authentic & LCS from Subversion and CVS + + Default configuration is to look for apps in their installation directories, -but it is also possible to run tests without installing anything. Example -of a config file is in tests/config.py.example (must be renamed to config.py to -be effective). +but it is also possible to run tests without installing anything. Example of a +config file is in tests/config.py.example (must be renamed to config.py to be +effective). You can also place a configuration file in +~/.config/lasso_integration.conf, the format is "key = value" without any +quoting. Tests are run with nosetests from this directory. +You can use the following environement variables to fine tune the execution of +the tests: + - 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. |
