Re: Running test pack for releases / candidates

Jim Baker <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CAOhO=aOmvQ93bV+=tSL2fVqTRJq7-KHCexi9Mxm3BRkzXEnK3g@mail.gmail.com>
Run the tests like so:

jython -m test.regrtest -e

(-e means the expected tests for Jython, since we don't run all tests from
CPython. This option probably should be the default, as it is with ant
regrtest.)

For the specific case of test_all, you will want to include on your
CLASSPATH a jar that (at least claims to) implement the servlet API. You
can use this one for that purpose:
https://github.com/jythontools/jython/blob/master/extlibs/servlet-api-2.5.jar

Note that this doesn't apply to standalone since we don't bundle tests. I
suppose you can run them by setting JYTHONPATH to a Lib with these tests,
perhaps from a source checkout.

- Jim

On Wed, Apr 29, 2015 at 7:31 PM, Adam <[email protected]> wrote:

> Is there a standard way to run the test pack if you don't have the jython
> source checked out? I tried running lib/test/test_all.py as it seemed
> plausible but couldn't find explicit guidance in the wiki or readme. Quite
> possible I missed something.
>
> Cheers
> Adam
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Jython-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jython-dev
>



-- 
- Jim

jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com}
twitter.com/jimbaker
github.com/jimbaker
bitbucket.com/jimbaker

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.