From: Jim B. <jim...@py...> - 2015-04-30 01:44:48
|
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 <ada...@gm...> 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 > Jyt...@li... > 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 |