Jan Tattermusch | b1a921c | 2015-05-12 19:27:53 -0700 | [diff] [blame] | 1 | #!/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. |
| 5 | NUNIT_CONSOLE=nunit-console |
| 6 | |
| 7 | # The rest you can leave intact |
| 8 | CONFIG=Release |
Jan Tattermusch | b1a921c | 2015-05-12 19:27:53 -0700 | [diff] [blame] | 9 | SRC=$(dirname $0)/src |
| 10 | |
| 11 | set -ex |
| 12 | |
Jon Skeet | e75a10d | 2015-06-25 12:25:49 +0100 | [diff] [blame] | 13 | echo Building the solution. |
Jon Skeet | 59eeebe | 2015-07-17 08:26:04 +0100 | [diff] [blame] | 14 | xbuild /p:Configuration=$CONFIG $SRC/Google.Protobuf.sln |
Jan Tattermusch | b1a921c | 2015-05-12 19:27:53 -0700 | [diff] [blame] | 15 | |
| 16 | echo Running tests. |
Jon Skeet | 59eeebe | 2015-07-17 08:26:04 +0100 | [diff] [blame] | 17 | $NUNIT_CONSOLE $SRC/Google.Protobuf.Test/bin/$CONFIG/Google.Protobuf.Test.dll |