mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-09 06:30:54 +00:00
Added more test scripts: Mono on Linux, and one for all.
Change-Id: Ia107557225db27b396f0d666c5c5b1b324ea22fa Tested: on Linux.
This commit is contained in:
9
tests/FlatBuffers.Test/NetTest.sh
Normal file
9
tests/FlatBuffers.Test/NetTest.sh
Normal 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
43
tests/TestAll.sh
Normal 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.
Reference in New Issue
Block a user