fail windows build if test suite doesn't pass

This commit is contained in:
Joey Hess 2014-12-30 17:16:57 -04:00
parent fd137e0909
commit ae72e4a62a

View file

@ -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