qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5307) Change test scripts to cross-platform language
Date Thu, 07 Nov 2013 15:44:20 GMT

    [ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message