[Mono-dev] HowTo: NET 2.0 Unit Testing?

Robert Jordan robertj at gmx.net
Sat Jan 13 19:50:53 EST 2007


Jensen Somers wrote:
> Hi,
> 
> I spend the last couple of hours trying to figure out how to compile a
> Test class that is enclosed with #if NET_2_0. Apparently the "make test"
> command only runs NET 1.0 code. My Makefile skills aren't that great so
> any changes I tried to apply to the Makefile file didn't work.
> Any ideas?
> 
> The specific test I try to run is
> mcs/class/corlib/System/Test/ArraySegmentTest.

make run-test PROFILE=net_2_0 
TEST_HARNESS_FLAGS=/fixture:NameSpace.ClassName

Robert




More information about the Mono-devel-list mailing list