This commit is contained in:
jonsequitur 2017-02-07 10:08:14 -08:00
parent da15d5435f
commit 161b10d0d0
5 changed files with 44 additions and 44 deletions

View file

@ -0,0 +1,16 @@
using Microsoft.DotNet.PlatformAbstractions;
using Xunit;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public class WindowsOnlyTheoryAttribute : TheoryAttribute
{
public WindowsOnlyTheoryAttribute()
{
if (RuntimeEnvironment.OperatingSystemPlatform != Platform.Windows)
{
this.Skip = "This test requires windows to run";
}
}
}
}