appveyor: stop if the first test fails
diff --git a/appveyor.yml b/appveyor.yml
index 3ed3c49..24a507e 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -37,6 +37,7 @@ build_script:
if "%GENERATOR%"=="MSYS Makefiles" (C:\MinGW\msys\1.0\bin\sh --login /c/projects/libgit2/script/appveyor-mingw.sh)
test_script:
- ps: |
+ $ErrorActionPreference="Stop"
ctest -V -R libgit2_clar
$env:GITTEST_REMOTE_URL="https://github.com/libgit2/non-existent"
$env:GITTEST_REMOTE_USER="libgit2test"