static int Main(string[] args)
        {
            if (args.Length == 1 && args[0].Equals("RunTest", StringComparison.OrdinalIgnoreCase))
            {
                return(RunTest());
            }

            return(ProfilerTestRunner.Run(profileePath: System.Reflection.Assembly.GetExecutingAssembly().Location,
                                          testName: "UnitTestGetAppDomainStaticAddress",
                                          profilerClsid: GetAppDomainStaticAddressProfilerGuid));
        }
예제 #2
0
        public static int Main(string[] args)
        {
            if (args.Length > 0 && args[0].Equals("RunTest", StringComparison.OrdinalIgnoreCase))
            {
                return(RunTest(args));
            }

            return(ProfilerTestRunner.Run(profileePath: System.Reflection.Assembly.GetExecutingAssembly().Location,
                                          testName: "UnitTestMetadataGetDispenser",
                                          profilerClsid: UnitTestProfilerGuid));
        }
예제 #3
0
파일: gc.cs 프로젝트: aik-jahoda/runtime
        public static int Main(string[] args)
        {
            if (args.Length > 0 && args[0].Equals("RunTest", StringComparison.OrdinalIgnoreCase))
            {
                return(RunTest(args));
            }

            return(ProfilerTestRunner.Run(profileePath: System.Reflection.Assembly.GetExecutingAssembly().Location,
                                          testName: "GCCallbacksBasic",
                                          profilerClsid: GcBasicEventsProfilerGuid));
        }
예제 #4
0
        public static int Main(string[] args)
        {
            if (args.Length > 0 && args[0].Equals("RunTest", StringComparison.OrdinalIgnoreCase))
            {
                return(RunTest(args));
            }

            return(ProfilerTestRunner.Run(profileePath: System.Reflection.Assembly.GetExecutingAssembly().Location,
                                          testName: "UnitTestReleaseOnShutdown",
                                          profilerClsid: ReleaseOnShutdownGuid,
                                          profileeOptions: ProfileeOptions.NoStartupAttach));
        }
예제 #5
0
        public static int Main(string[] args)
        {
            if (args.Length > 0 && args[0].Equals("RunTest", StringComparison.OrdinalIgnoreCase))
            {
                return(RunTest(args));
            }

            return(ProfilerTestRunner.Run(profileePath: System.Reflection.Assembly.GetExecutingAssembly().Location,
                                          testName: "ReJITWithInlining",
                                          profilerClsid: ReJitProfilerGuid,
                                          profileeOptions: ProfileeOptions.OptimizationSensitive));
        }
예제 #6
0
        public static int Main(string[] args)
        {
            if (args.Length > 0 && args[0].Equals("RunTest", StringComparison.OrdinalIgnoreCase))
            {
                return(RunTest(args));
            }

            return(ProfilerTestRunner.Run(profileePath: System.Reflection.Assembly.GetExecutingAssembly().Location,
                                          testName: "MultiplyLoaded",
                                          profilerClsid: MultipleProfilerGuid,
                                          loadAsNotification: true,
                                          notificationCopies: 2));
        }
예제 #7
0
        public static int Main(string[] args)
        {
            // failing on MacOs 12 https://github.com/dotnet/runtime/issues/64765
            if (OperatingSystem.IsMacOS())
            {
                return(100);
            }
            if (args.Length > 0 && args[0].Equals("RunTest", StringComparison.OrdinalIgnoreCase))
            {
                return(RunTest(args));
            }

            return(ProfilerTestRunner.Run(profileePath: System.Reflection.Assembly.GetExecutingAssembly().Location,
                                          testName: "MultiplyLoaded",
                                          profilerClsid: MultipleProfilerGuid,
                                          loadAsNotification: true,
                                          notificationCopies: 2));
        }