-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Add/improve interdependent-binding-projects on .NET (#12429)
* [tests] Share project logic in the .NET version of interdependent-binding-projects. * [tests] Make interdependent-binding-projects work on macOS.
- Loading branch information
1 parent
bd7e5c2
commit e0e7f0f
Showing
17 changed files
with
153 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/interdependent-binding-projects/dotnet/MacCatalyst/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../shared.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../shared.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../shared.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
tests/interdependent-binding-projects/dotnet/shared.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<DefineConstants>$(DefineConstants);NET</DefineConstants> | ||
<LangVersion>latest</LangVersion> | ||
<RootNamespace>interdependentbindingprojects</RootNamespace> | ||
|
||
<SignAssembly>true</SignAssembly> | ||
|
||
<RootTestsDirectory>$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..\..\..'))</RootTestsDirectory> | ||
<TestLibrariesDirectory>$(RootTestsDirectory)\test-libraries</TestLibrariesDirectory> | ||
<ThisTestDirectory>$(RootTestsDirectory)\interdependent-binding-projects</ThisTestDirectory> | ||
|
||
<AssemblyOriginatorKeyFile>$(RootTestsDirectory)\..\product.snk</AssemblyOriginatorKeyFile> | ||
|
||
<!-- Don't remove native symbols, because it makes debugging native crashes harder --> | ||
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip> | ||
|
||
<DefineConstants Condition="'$(Configuration)' == 'Debug'">$(DefineConstants);DEBUG</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<Import Project="$(RootTestsDirectory)/common/shared-dotnet.csproj" /> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="NUnitLite" Version="3.12.0" /> | ||
<ProjectReference Include="$(RootTestsDirectory)\..\external\Touch.Unit\Touch.Client\dotnet\$(_PlatformName)\Touch.Client-$(_PlatformName).dotnet.csproj" /> | ||
<!-- MonoTouch.Dialog references System.Json, which isn't shipped with .NET5, so reference the NuGet instead --> | ||
<PackageReference Include="System.Json" Version="4.7.1" /> | ||
|
||
<ProjectReference Include="$(RootTestsDirectory)\bindings-test\dotnet\$(_PlatformName)\bindings-test.csproj" /> | ||
<ProjectReference Include="$(RootTestsDirectory)\bindings-test2\dotnet\$(_PlatformName)\bindings-test2.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="$(ThisTestDirectory)\Main.cs" /> | ||
<Compile Include="$(RootTestsDirectory)\common\mac\MacMain.cs" Condition="$(TargetFramework.EndsWith('-macos'))" Link="MacMain.cs" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
TOP=../../../.. | ||
include $(TOP)/Make.config | ||
include $(TOP)/mk/colors.mk | ||
|
||
prepare: | ||
$(Q) $(MAKE) -C $(TOP)/tests/dotnet copy-dotnet-config | ||
|
||
reload: | ||
$(Q) rm -Rf $(TOP)/tests/dotnet/packages | ||
$(Q) $(MAKE) -C $(TOP) -j8 all | ||
$(Q) $(MAKE) -C $(TOP) -j8 install | ||
$(Q) git clean -xfdq | ||
|
||
reload-and-build: | ||
$(Q) $(MAKE) reload | ||
$(Q) $(MAKE) build | ||
|
||
reload-and-run: | ||
$(Q) $(MAKE) reload | ||
$(Q) $(MAKE) run | ||
|
||
build: prepare | ||
$(Q) $(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY) $(BUILD_ARGUMENTS) | ||
|
||
run: prepare | ||
$(Q) $(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY) $(BUILD_ARGUMENTS) -t:Run | ||
|
||
diag: prepare | ||
$(Q) $(DOTNET6) build /v:diag msbuild.binlog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../shared.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
tests/interdependent-binding-projects/dotnet/watchOS/Info.plist
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
tests/interdependent-binding-projects/dotnet/watchOS/interdependent-binding-projects.csproj
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
e0e7f0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ [CI Build] Tests failed on Build ❌
Tests failed on Build.
API diff
✅ API Diff from stable
View API diff
API & Generator diff
✅ API Diff (from PR only) (no change)
✅ Generator Diff (only version changes)
Packages generated
View packages
Test results
4 tests failed, 237 tests passed.
Failed tests
Tests run: 2469 Passed: 2408 Inconclusive: 13 Failed: 1 Ignored: 60)
Pipeline on Agent XAMBOT-1036.BigSur'
[tests] Add/improve interdependent-binding-projects on .NET (#12429)
e0e7f0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.
Pipeline on Agent
[tests] Add/improve interdependent-binding-projects on .NET (#12429)
e0e7f0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.
Pipeline on Agent
[tests] Add/improve interdependent-binding-projects on .NET (#12429)
e0e7f0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Tests failed on macOS M1 - Mac Big Sur (11.5) ❌
Tests failed on M1 - Mac Big Sur (11.5).
Failed tests are:
Pipeline on Agent
[tests] Add/improve interdependent-binding-projects on .NET (#12429)