I'd like to be able to test individual namespaces, without doing a 'make test' at the top of mcs.
I noticed the script called run_test.sh. Thinking this is what I want, I try it: ... [norman@toshiba Test]$ ./run_test.sh System.AllTests Error: NUnit.Runner.LoaderException: Error loading test class: MonoTests.System.AllTests,corlib_linux_test.dll ---> System.IO.FileNotFoundException: File 'corlib_linux_test.dll' not found. in (unmanaged) mono(mono_raise_exception+0x20) [0x80bd778] in (unmanaged) mono(ves_icall_System_Reflection_Assembly_LoadFrom+0xca) ... Nowhere do I find corlib_linux_test.dll. This is different than the command that results from a top-level make test: ... make[4]: Entering directory `/home/norman/mono/mcs/class/corlib/Test' MONO_PATH=../../../nunit20:. mono ../../../nunit20/nunit-console.exe corlib_test.dll NUnit version 2.0.9 Copyright (C) 2002 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. Copyright (C) 2000-2002 Philip Craig. All Rights Reserved. ...............................F......................................F. F.....F.F.F....................... Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required GC Warning: Finalization cycle involving 817ce00 make[4]: Leaving directory `/home/norman/mono/mcs/class/corlib/Test' ... so I know the tests are running. I see there's a different nunit-console in the script. Is this script still the right way to do it? I'd rather not run all the tests just to get to the ones I write. Thanks Norman _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
