From 5d0e8f1698d07b91d22268d56dd43dedb6c242df Mon Sep 17 00:00:00 2001 From: Paulo Janotti Date: Thu, 14 Sep 2023 16:02:29 -0700 Subject: [PATCH] Add StartupHook.Tests to RunManagedUnitTests target (#2957) --- build/Build.Steps.cs | 1 + build/Projects.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/build/Build.Steps.cs b/build/Build.Steps.cs index 49f05d187a..cd98d49385 100644 --- a/build/Build.Steps.cs +++ b/build/Build.Steps.cs @@ -416,6 +416,7 @@ DotNetBuildSettings BuildTestApplication(DotNetBuildSettings x) => var unitTestProjects = new[] { Solution.GetProjectByName(Projects.Tests.AutoInstrumentationLoaderTests), + Solution.GetProjectByName(Projects.Tests.AutoInstrumentationStartupHookTests), Solution.GetProjectByName(Projects.Tests.AutoInstrumentationTests) }; diff --git a/build/Projects.cs b/build/Projects.cs index 9470768adf..05b09deaf5 100644 --- a/build/Projects.cs +++ b/build/Projects.cs @@ -18,6 +18,7 @@ public static class Tests public const string AutoInstrumentationLoaderTests = "OpenTelemetry.AutoInstrumentation.Loader.Tests"; public const string AutoInstrumentationBootstrappingTests = "OpenTelemetry.AutoInstrumentation.Bootstrapping.Tests"; public const string AutoInstrumentationTests = "OpenTelemetry.AutoInstrumentation.Tests"; + public const string AutoInstrumentationStartupHookTests = "OpenTelemetry.AutoInstrumentation.StartupHook.Tests"; public const string IntegrationTests = "IntegrationTests"; public static class Applications