From 9bd1e6246f20f489c6e2e44dc636d22c243f3ecd Mon Sep 17 00:00:00 2001 From: Jan Jones Date: Thu, 31 Jul 2025 10:17:03 +0200 Subject: [PATCH] Unskip run-file tests --- test/dotnet.Tests/CommandTests/Run/RunFileTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/dotnet.Tests/CommandTests/Run/RunFileTests.cs b/test/dotnet.Tests/CommandTests/Run/RunFileTests.cs index 72e6012267bf..411706f265e0 100644 --- a/test/dotnet.Tests/CommandTests/Run/RunFileTests.cs +++ b/test/dotnet.Tests/CommandTests/Run/RunFileTests.cs @@ -150,7 +150,7 @@ public void FilePath(string? path, bool differentCasing) /// /// dotnet file.cs is equivalent to dotnet run file.cs. /// - [Fact(Skip = "Waiting for VMR codeflow from runtime: https://github.com/dotnet/dotnet/pull/1563")] + [Fact] public void FilePath_WithoutRun() { var testInstance = _testAssetsManager.CreateTestDirectory(); @@ -292,7 +292,7 @@ public void FilePath_AsProjectArgument() /// /// Even if there is a file-based app ./build, dotnet build should not execute that. /// - [Theory(Skip="Waiting for VMR codeflow from runtime: https://github.com/dotnet/dotnet/pull/1563")] + [Theory] // error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. [InlineData("build", "MSB1003")] // dotnet watch: Could not find a MSBuild project file in '...'. Specify which project to use with the --project option. @@ -363,7 +363,7 @@ public void Precedence_Dll(string arg) // https://github.com/dotnet/sdk/issues/49665 // Failed to load /private/tmp/helix/working/B3F609DC/p/d/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.dylib, error: dlopen(/private/tmp/helix/working/B3F609DC/p/d/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.dylib, 0x0001): tried: '/private/tmp/helix/working/B3F609DC/p/d/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/private/tmp/helix/working/B3F609DC/p/d/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.dylib' (no such file), '/private/tmp/helix/working/B3F609DC/p/d/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) - [PlatformSpecificFact(TestPlatforms.Any & ~TestPlatforms.OSX, Skip = " Waiting for VMR codeflow from runtime: https://github.com/dotnet/dotnet/pull/1563")] + [PlatformSpecificFact(TestPlatforms.Any & ~TestPlatforms.OSX)] public void Precedence_NuGetTool() { var testInstance = _testAssetsManager.CreateTestDirectory(); @@ -522,7 +522,7 @@ Hello from App """); } - [Fact(Skip = " Waiting for VMR codeflow from runtime: https://github.com/dotnet/dotnet/pull/1563")] + [Fact] public void ProjectInCurrentDirectory_NoRunVerb() { var testInstance = _testAssetsManager.CreateTestDirectory();