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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }