workaround try #3

This commit is contained in:
Joey Hess 2016-02-16 17:07:17 -04:00
parent 99a17b337e
commit 3fe79c0d1b
Failed to extract signature

View file

@ -100,6 +100,12 @@ Build/BuildVersion > dist/build-version
PATH="$(pwd)/dist/build/git-annex/:$PATH"
export PATH
mkdir -p c:/WINDOWS/Temp/git-annex-test/
oldpwd="$(pwd)"
cd c:/WINDOWS/Temp/git-annex-test/
rm -rf .t
withcyg git-annex.exe test
if ! withcyg git-annex.exe test; then
# For some reason a nonzero exit is not propigated out of this
# shell script from the test suite. Instead, delete the build
# artifact, to prevent a bad one being uploaded.
rm -f "$oldpwd/git-annex-installer.exe"
fi