blob: 45af705f385782dcdbeafd149cd85359aca4fb6c [file] [log] [blame]
Brian Silverman9c614bc2016-02-15 20:20:02 -05001#!/bin/bash
2# Use mono to build solution and run all tests.
3
4# Adjust these to reflect the location of nunit-console in your system.
5NUNIT_CONSOLE=nunit-console
6
7# The rest you can leave intact
8CONFIG=Release
9SRC=$(dirname $0)/src
10
11set -ex
12
13echo Building the solution.
14xbuild /p:Configuration=$CONFIG $SRC/Google.Protobuf.sln
15
16echo Running tests.
17$NUNIT_CONSOLE $SRC/Google.Protobuf.Test/bin/$CONFIG/Google.Protobuf.Test.dll