osrm-backend/tests/FlatBuffers.Test
Siarhei Fedartsou 0f6aab9da6 Squashed 'third_party/flatbuffers/' content from commit 595bf0007
git-subtree-dir: third_party/flatbuffers
git-subtree-split: 595bf0007ab1929570c7671f091313c8fc20644e
2024-06-22 13:33:34 +02:00
..
Properties Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
.gitignore Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
Assert.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
ByteBufferTests.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
clean.sh Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
FlatBufferBuilderTests.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
FlatBuffers.Test.csproj Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
FlatBuffersExampleTests.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
FlatBuffersFuzzTests.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
FlatBuffersTestClassAttribute.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
FlatBuffersTestMethodAttribute.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
FuzzTestData.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
Lcg.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
monsterdata_cstest_sp.mon Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
monsterdata_cstest.mon Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
NetTest.bat Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
NetTest.sh Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
packages.config Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
Program.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
README.md Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00
TestTable.cs Squashed 'third_party/flatbuffers/' content from commit 595bf0007 2024-06-22 13:33:34 +02:00

.NET Tests

Running on Linux

Prerequisites

To run the tests on a Linux a few prerequisites are needed:

  1. mono
  2. msbuild

Running

To run the tests:

./NetTest.sh

This will download the .NET installer and core SDK if those are not already installed. Then it will build the tests using msbuild and run the resulting test binary with mono.

After running the tests, the downloaded .NET installer and SDK are not removed as they can be reused in subsequent invocations. The files are ignored by git by default, and can remain in the working directory.

Cleaning

If you want to clean up the downloaded .NET installer and SDK, run:

./clean.sh

This will wipe away the downloaded files and directories. Those will be automatically re-downloaded when running NetTest.sh.