Skip to content

Commit

Permalink
[tests] Add/fix makefiles for .NET projects (#11982)
Browse files Browse the repository at this point in the history
Add and fix makefiles for .NET test projects to make them easy to test from
the command line.
  • Loading branch information
rolfbjarne authored Jun 18, 2021
1 parent 785bbbe commit aaf8d70
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/dotnet/MyCatalystApp/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
all:
msbuild /bl
$(PWD)/bin/MacCatalyst/Debug/MyCatalystApp.app/Contents/MacOS/MyCatalystApp
TOP=../../..

include $(TOP)/Make.config

build:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY)

run:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY) -t:Run
9 changes: 9 additions & 0 deletions tests/dotnet/MyCocoaApp/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
TOP=../../..

include $(TOP)/Make.config

build:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY)

run:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY) -t:Run
9 changes: 9 additions & 0 deletions tests/dotnet/MyInterpretedApp/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
TOP=../../..

include $(TOP)/Make.config

build:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY)

run:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY) -t:Run
9 changes: 9 additions & 0 deletions tests/dotnet/MyTVApp/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
TOP=../../..

include $(TOP)/Make.config

build:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY)

run:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY) -t:Run
9 changes: 9 additions & 0 deletions tests/dotnet/MyXamarinFormsApp/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
TOP=../../..

include $(TOP)/Make.config

build:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY)

run:
$(DOTNET6) build /bl *.csproj $(MSBUILD_VERBOSITY) -t:Run

1 comment on commit aaf8d70

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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 (no change)

Path D:\a\1\s\artifacts\pkg-info\artifacts.json was not found!

Test results

1 tests failed, 220 tests passed.

Failed tests

  • introspection/watchOS 32-bits - simulator/Debug (watchOS 5.0): Failed

Pipeline on Agent XAMBOT-1038.BigSur'
[tests] Add/fix makefiles for .NET projects (#11982)

Please sign in to comment.