Skip to content

Unskip run-file tests #50009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/dotnet.Tests/CommandTests/Run/RunFileTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void FilePath(string? path, bool differentCasing)
/// <summary>
/// <c>dotnet file.cs</c> is equivalent to <c>dotnet run file.cs</c>.
/// </summary>
[Fact(Skip = "Waiting for VMR codeflow from runtime: https://github.com/dotnet/dotnet/pull/1563")]
[Fact]
public void FilePath_WithoutRun()
{
var testInstance = _testAssetsManager.CreateTestDirectory();
Expand Down Expand Up @@ -292,7 +292,7 @@ public void FilePath_AsProjectArgument()
/// <summary>
/// Even if there is a file-based app <c>./build</c>, <c>dotnet build</c> should not execute that.
/// </summary>
[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.
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Loading