[
https://issues.apache.org/jira/browse/DISPATCH-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151213#comment-15151213
]
ASF subversion and git services commented on DISPATCH-219:
----------------------------------------------------------
Commit 4c35796c4c514f92164b47a7dbf85739dd8a5a7c in qpid-dispatch's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=4c35796 ]
DISPATCH-219: System test security configuration for installed/built tests.
Got rid of cmake substitutions in python test files: On test errors, a python
IDE will zap to the relevant line in the *substituted copy* not the real python
source. Fixes accidentally made to the copy will be lost when source is copied
again.
Got rid of cmake substituted SASL configuration files. The system tests are
installed and can be run on an installation as well as in the build, so they
can't have build-specific paths in them. (Unit tests that are not installed
don't have this restriction)
Instead generate the SASL config files at run time in the test's local working
directory. The system_test.py framework ensures this is always an isolated
scratch directory used only by that test module.
> System test security configuration for installed/built tests.
> -------------------------------------------------------------
>
> Key: DISPATCH-219
> URL: https://issues.apache.org/jira/browse/DISPATCH-219
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.5
> Reporter: Alan Conway
> Assignee: Alan Conway
> Fix For: 0.6
>
>
> The dispatch system tests are designed to run on a build or on an
> installation.
> They generate their own qdrouter.conf configuration files at run time in the
> test run directory. However some other configuration files (SSL certs, SASL
> databases etc.) are installed with dispatch. Currently some of these files
> contain cmake-substituted paths in the *build* directory which is incorrect.
> Come up with a simple scheme to handle this configuration and document it in
> the CMakeLists.txt files so people know how to use it.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]