[IronPython] Running the IronPython tests (on Mono)
dfugate at microsoft.com
Tue Mar 2 22:15:38 CET 2010
Just checked a couple of our releases and harness.py is available with at least 2.6.1 RC1 and 2.6 Beta 2 (July 2009). Maybe you're using IronPython 2.0.x?
The exact harness.py instructions (for Windows at least) are:
1. Download and unzip the source zip file
2. Build the Debug configuration of Src\IronPython.sln
3. Build the Debug configuration of Src\Tests\ClrAssembly\ClrAssembly.csproj and the release configuration of Src\Tests\DlrComLibrary\DlrComLibrary.sln
4. set IRONPYTHONPATH to CPython 2.6's stdlib
5. cd into 'Src\Tests' and call '..\..\Bin\Debug\ipy.exe -X:FullFrames harness.py'
Doing the above under Windows 2008 R2, we get all the way to modules.io_related.codecs_test before any failures are observed.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of C.J. Adams-Collier
Sent: Tuesday, February 23, 2010 3:08 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Running the IronPython tests (on Mono)
I don't see a harness.py. Maybe the snapshot I'm working from is too old. 8/5/2009
On Mon, 2010-02-22 at 21:59 +0000, Dave Fugate wrote:
> For IronPython, try running:
> IronPython\Tests> ipy.exe harness.py
> I haven't tried running this recently, but it did work about a year ago...
> -----Original Message-----
> From: users-bounces at lists.ironpython.com
> [mailto:users-bounces at lists.ironpython.com] On Behalf Of C.J.
> Sent: Monday, February 22, 2010 1:08 PM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Running the IronPython tests (on Mono)
> Thanks Tomas,
> I recall doing a bit of work on this with Ivan last year. I think we got most of them performing reasonably. I don't remember whether we re-wrote the batch files in ruby or bash or whatever... we should probably do that at some point...
> On Mon, 2010-02-22 at 17:19 +0000, Tomas Matousek wrote:
> > To run IronRuby tests you can use Merlin\Main\Languages\Ruby\Scripts\irtests.rb.
> > But it won't run on Linux as is due to dependencies on various batch files. We should replace all of them by Ruby scripts in future so that it runs on Linux as well.
> > Tomas
> > -----Original Message-----
> > From: users-bounces at lists.ironpython.com
> > [mailto:users-bounces at lists.ironpython.com] On Behalf Of C.J.
> > Adams-Collier
> > Sent: Sunday, February 21, 2010 10:50 PM
> > To: users at lists.ironpython.com
> > Subject: [IronPython] Running the IronPython tests (on Mono)
> > Hey folks,
> > I'm trying hard to shoehorn IronPython (and IronRuby) into Ubuntu Lucid, the next long-term stable release. They're asking if I can get the test suite to execute as part of the package build script.
> > Can someone walk me through running the test suite?
> > The one caveat is that this is a snapshot from git as of 08/05/2009.
> > I've been working on this version since then in order to get it packaged up. It shouldn't take quite so long to get releases packaged up in the future.
> > Let me know if you need a shell on ironruby.colliertech.org and when/if you can help me walk through getting the test suite going.
> > Thanks in advance,
> > C.J.
> > _______________________________________________
> > Users mailing list
> > Users at lists.ironpython.com
> > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> Users mailing list
> Users at lists.ironpython.com
More information about the Ironpython-users