[
https://issues.apache.org/jira/browse/QPID-5307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816064#comment-13816064
]
Andrew Stitcher commented on QPID-5307:
---------------------------------------
[~justi9] pointed me to some python scripting code he came up with in the
context of generating the web pages:
http://svn.apache.org/repos/asf/qpid/site/python/transom/script.py
This may be useful for general scripting tasks.
The major thing that the scripts do is to start brokers and run clients
(internal to python or native c++).
A bunch of the shell scripts just start brokers then fire up a python testing
script. I think that since those scripts were originally written the python
code has got some capability to start brokers itself (see the ha python tester)
So that might be a place to start looking.
> Change test scripts to cross-platform language
> ----------------------------------------------
>
> Key: QPID-5307
> URL: https://issues.apache.org/jira/browse/QPID-5307
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker, C++ Client, C++ Clustering
> Reporter: Steve Huston
> Assignee: Steve Huston
> Labels: test
> Fix For: Future
>
>
> The C++ tree's test suite drivers are primarily shell scripts. Many were
> duplicated as Windows PowerShell scripts along the way. However, not all
> scripts were PowerShell-ized, and the dual set of test scripts is not
> maintained in sync. Someone (Cliff?) suggested a while back that the test
> driver scripts be written in a common language across Linux and Windows, and
> for other platforms as well.
> Python, Perl, Ruby are all possible choices - python and ruby need to be on
> build systems anyway for code generation. What do people think about a) this
> idea in general, b) language to use?
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]