summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2014-12-30 17:16:57 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-30 17:16:57 -0400
commitdd38607b51535f02fe058107b606dd744a463837 (patch)
tree6b8ba72faeaefaf3ceb92797225edf2ddd492ea1
parente9c4de6e149ea8b4c97fcb421126c3a5152840ae (diff)
fail windows build if test suite doesn't pass
-rwxr-xr-xstandalone/windows/build.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index 0e283a110..a40151b95 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -78,5 +78,10 @@ PATH="$(pwd)/dist/build/git-annex/:$PATH"
export PATH
mkdir -p c:/WINDOWS/Temp/git-annex-test/
cd c:/WINDOWS/Temp/git-annex-test/
-withcyg git-annex.exe test || true
-rm -rf .t
+if withcyg git-annex.exe test; then
+ rm -rf .t
+else
+ rm -rf .t
+ echo "Test suite failure; failing build!"
+ false
+fi