Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Another try at suppressing testing on Browser
  • Loading branch information
ericstj committed Apr 2, 2021
commit 5aec6a7cfa8a7a8dd546a163af3ac31f91fed3b9
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using Xunit;

[assembly: SkipOnMono("MSBuild is not supported on Browser", TestPlatforms.Browser)]
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);net472</TargetFrameworks>
<!-- MSBuild won't work everywhere -->
<SkipTestsOnPlatform Condition="'$(TargetsMobile)' == 'true' or '$(TargetsBrowser)' == 'true'">true</SkipTestsOnPlatform>
<IgnoreForCI Condition="'$(TargetOS)' == 'Browser'">true</IgnoreForCI>
</PropertyGroup>

<ItemGroup>
Expand All @@ -12,6 +11,7 @@
</ItemGroup>

<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="GenerateRuntimeGraphTests.cs" />
<Compile Include="Log.cs" />
<Compile Include="TestBuildEngine.cs" />
Expand Down