Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C#] Adds NetTest.bat to run .NET Core tests on Windows #6216

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

dbaileychess
Copy link
Collaborator

Adds a windows batch script (NetTest.bat) that creates a solution, adds the FlatBuffers.Core.Test.csproj to it, restores dependencies, builds, and executes the test binary.

It appears we only do test with Mono in the NetTest.sh script, this adds the basic support for running the tests on a Windows machine. This assumes that the Windows machine has .NET Core installed. I had .NET Core 3.1 installed (via https://dotnet.microsoft.com/download).

Other test configurations (unsafe, SpanT, etc..) will be added in later PRs.

Running:

cd tests\FlatBuffers.Test
NetTest.bat

Produced the following:

The template "Solution File" was created successfully.
Project `FlatBuffers.Core.Test.csproj` added to the solution.
Microsoft (R) Build Engine version 16.7.0+7fb82e5b2 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.


Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.93
110 tests run, 0 failed

@dbaileychess dbaileychess merged commit 0dfcc0a into google:master Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant