X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fbasic-math.cs;h=854b21e5868870a4ca21709eff65612f6bdfdcde;hb=48a31b46adf5ae30fb6df59b2181514d0e2c6db8;hp=d2fa1ede9bc9317e245a730a233024d36f6bc81c;hpb=3331634f37c395ea87d15a2f3338b2bc66a8470a;p=mono.git diff --git a/mono/mini/basic-math.cs b/mono/mini/basic-math.cs index d2fa1ede9bc..854b21e5868 100644 --- a/mono/mini/basic-math.cs +++ b/mono/mini/basic-math.cs @@ -23,11 +23,18 @@ using System.Reflection; * the IL code looks. */ -class Tests { - - public static int Main () { - return TestDriver.RunTests (typeof (Tests)); +#if MOBILE +class MathTests +#else +class Tests +#endif +{ + +#if !MOBILE + public static int Main (string[] args) { + return TestDriver.RunTests (typeof (Tests), args); } +#endif public static int test_0_sin_precision () { double d1 = Math.Sin (1);