diff options
author | Jon Skeet <jonskeet@google.com> | 2015-06-25 08:59:35 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-06-25 08:59:35 +0100 |
commit | 0698aa973740d2a666fed8281c84a884a4227aa4 (patch) | |
tree | f89d3f35c2e36685861e615402615b8af453a397 /csharp/buildall.sh | |
parent | d487c322defd80f3dba1d1dfc1546e451c7b1c1d (diff) | |
download | protobuf-0698aa973740d2a666fed8281c84a884a4227aa4.tar.gz protobuf-0698aa973740d2a666fed8281c84a884a4227aa4.tar.bz2 protobuf-0698aa973740d2a666fed8281c84a884a4227aa4.zip |
Get the Mono build script working again.
The solution as a whole doesn't build yet - we probably want to remove
ProtoDump and ProtoMunge entirely, and ProtoBench should use Jan's new
benchmarks for parity with Java.
The version of NUnit on my machine, packaged with Mono 3.12.1, is
only NUnit 2.4.2, which is extremely old - it still requires an explicit
[TestFixture] attribute on test fixtures. I've added one just for ByteStringTest
for the moment so that we can see some tests passing in Travis, but as part of
a separate PR we should work on making sure we're using a recent NUnit version.
(It may already be doing so, but we can check that once it's working and merged.)
Diffstat (limited to 'csharp/buildall.sh')
-rwxr-xr-x | csharp/buildall.sh | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/csharp/buildall.sh b/csharp/buildall.sh index 164707cb..e19cea0a 100755 --- a/csharp/buildall.sh +++ b/csharp/buildall.sh @@ -11,12 +11,13 @@ SRC=$(dirname $0)/src set -ex -echo Building the solution. -xbuild /p:Configuration=$CONFIG $SRC/ProtocolBuffers.sln +# echo Building the solution. +# TODO(jonskeet): Re-enable building the whole solution when we have ProtoBench et al +# working again. +# xbuild /p:Configuration=$CONFIG $SRC/ProtocolBuffers.sln -echo Running tests. -$NUNIT_CONSOLE $SRC/ProtocolBuffers.Test/bin/$CONFIG/Google.ProtocolBuffers.Test.dll - -$NUNIT_CONSOLE $SRC/ProtocolBuffersLite.Test/bin/$CONFIG/Google.ProtocolBuffersLite.Test.dll +xbuild /p:Configuration=$CONFIG $SRC/ProtocolBuffers/ProtocolBuffers.csproj +xbuild /p:Configuration=$CONFIG $SRC/ProtocolBuffers.Test/ProtocolBuffers.Test.csproj -$NUNIT_CONSOLE $SRC/ProtocolBuffersLite.Test/bin/$CONFIG/Google.ProtocolBuffersMixedLite.Test.dll +echo Running tests. +$NUNIT_CONSOLE $SRC/ProtocolBuffers.Test/bin/$CONFIG/Google.Protobuf.Test.dll |