Retrieve the exit code from the test suites

This commit is contained in:
Thomas Pelletier
2013-12-10 15:28:52 +01:00
parent def5433558
commit 979a055512
2 changed files with 11 additions and 1 deletions
+4
View File
@@ -2,6 +2,10 @@
# Run basic go unit tests
go test -v ./...
result=$?
# Run example-based toml tests
cd test_program && ./go-test.sh
result="$(( result || $? ))"
exit $result