Commit 113e16347d4dbaa4f8274b93d53b8f47d8141044

Carlos Martín Nieto 2016-03-09T19:20:38

appveyor: stop if the first test fails

1
2
3
4
5
6
7
8
9
10
11
12
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"