[Mono-list] 'make test' problems in System.

Dan Lewis dihlewis@yahoo.co.uk
Thu, 7 Feb 2002 20:04:56 +0000 (GMT)


All the patch does is to make the build process copy System.dll from class/lib
into the System/Test directory. The compiler needs to reference this library
when building System_test.dll (which it seems it was doing correctly), and the
runtime needs subsequently to be able to find it when NUnitConsole.exe is run
in the Test directory.

This is similar to a classpath problem in Java - if that's any help. An
altogether more attractive alternative to copying the DLL into the Test
directory would be to set up an "application configuration" for
NUnitConsole.exe that tells it where the library is. This is something that
Nick and I began investigating the other day.

Dan.


 --- bucky@phantom.keystreams.com wrote: > Sigh.  I always find the answers to
my questions right after I send the
> e-mail...
> 
> I tried applying your patch by hand (just the few lines changing in
> System_test.build, right?), but that didn't make any perceptible
> difference.
> 
> In fact, now that I look a little more - that change appears to cause the
> build to fail:
> 
> "error CS0006: Metadata file '.\System.dll' could not be found"
> 
> Hmmm.
> 
> --David
> 
> On Thu, 7 Feb 2002 bucky@phantom.keystreams.com wrote:
> 
> > Dan,
> > 
> > I'm still getting the problem after updating and making clean.  There
> > were definitely some updates, but I don't know if they were the ones you 
> > made.  Is there an archive of the mono-patches list?  I only just now
> > signed up.
> > 
> > Thanks,
> > David
> > 
> > On Thu, 7 Feb 2002, [iso-8859-1] Dan Lewis wrote:
> > 
> > > Hi David.
> > > 
> > > Thanks for bringing this up - seems like I messed up the build file. (I
> changed
> > > it because the previous System_test.build was referencing the Microsoft
> DLL by
> > > default under Windows, rather than our DLL. Unsurprisingly most of the
> tests
> > > passed ;)
> > > 
> > > Could you try checking out again and remaking test? I don't know if
> there's a
> > > delay on the anon cvs server - if there is you can look at the minor
> patch on
> > > the mono-patches lists.
> > > 
> > > Dan.
> > > 
> > > PS is anyone else seeing double on this mailing list? I've got most of
> today's
> > > posts twice.
> > > 
> > > 
> > >  --- bucky@phantom.keystreams.com wrote: > Hi, I'm a new guy, digging
> into the
> > > test suites.
> > > > 
> > > > I'm getting an error (which NickD and Dick confirmed on irc) when I run
> > > > 'make test' in mcs/classes, in the System directory.  It appears to be
> > > > unable to find a System.dll/.exe when trying to build the test suite.
> > > > 
> > > > Folks on irc seemed to think this was a job for "regex dan".  Any
> > > > suggestions?
> > > > 
> > > > Thanks,
> > > > David
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Mono-list maillist  -  Mono-list@ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/mono-list 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Everything you'll ever need on one web page
> > > from News and Sport to Email and Music Charts
> > > http://uk.my.yahoo.com
> > > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> > 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com