Disable format tests on Alpine (#17247)
This commit is contained in:
parent
96fc9a05f0
commit
a37bcd19b5
4 changed files with 18 additions and 2 deletions
|
@ -10,6 +10,7 @@ namespace Microsoft.DotNet.SourceBuild.SmokeTests;
|
|||
internal static class Config
|
||||
{
|
||||
public const string DotNetDirectoryEnv = "SMOKE_TESTS_DOTNET_DIR";
|
||||
public const string ExcludeDotnetFormatEnv = "SMOKE_TESTS_EXCLUDE_DOTNETFORMAT";
|
||||
public const string ExcludeOmniSharpEnv = "SMOKE_TESTS_EXCLUDE_OMNISHARP";
|
||||
public const string MsftSdkTarballPathEnv = "SMOKE_TESTS_MSFT_SDK_TARBALL_PATH";
|
||||
public const string PoisonReportPathEnv = "SMOKE_TESTS_POISON_REPORT_PATH";
|
||||
|
|
|
@ -19,7 +19,7 @@ public class DotNetFormatTests : SmokeTests
|
|||
/// <Summary>
|
||||
/// Format an unformatted project and verify that the output matches the pre-computed solution.
|
||||
/// </Summary>
|
||||
[Fact]
|
||||
[SkippableFact(Config.ExcludeDotnetFormatEnv, skipOnTrue: true)]
|
||||
public void FormatProject()
|
||||
{
|
||||
string unformattedCsFilePath = Path.Combine(BaselineHelper.GetAssetsDirectory(), UnformattedFileName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue