Added more test scripts: Mono on Linux, and one for all.

Change-Id: Ia107557225db27b396f0d666c5c5b1b324ea22fa
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen
2017-05-10 12:54:22 -07:00
parent 8468ea1ab4
commit 04d734d6d2
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Testing C# on Linux using Mono.
mcs -out:fbnettest.exe ../../net/FlatBuffers/*.cs ../MyGame/Example/*.cs FlatBuffersTestClassAttribute.cs FlatBuffersTestMethodAttribute.cs Assert.cs FlatBuffersExampleTests.cs Program.cs ByteBufferTests.cs FlatBufferBuilderTests.cs FlatBuffersFuzzTests.cs FuzzTestData.cs Lcg.cs TestTable.cs
./fbnettest.exe
rm fbnettest.exe
rm Resources/monsterdata_cstest.mon

43
tests/TestAll.sh Normal file
View File

@@ -0,0 +1,43 @@
echo "************************ Java:"
sh JavaTest.sh
echo "************************ Go:"
sh GoTest.sh
echo "************************ Python:"
sh PythonTest.sh
echo "************************ JavaScript:"
sh JavaScriptTest.sh
echo "************************ TypeScript:"
sh TypeScriptTest.sh
echo "************************ C++:"
cd ..
./flattests
cd tests
echo "************************ C#:"
cd FlatBuffers.Test
sh NetTest.sh
cd ..
echo "************************ PHP:"
php phpTest.php
echo "************************ C:"
echo "(in a different repo)"
echo "************************ Swift:"
echo "(in a different repo)"

Binary file not shown.