]> granicus.if.org Git - curl/commitdiff
AppVeyor: run test suite
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 2 Oct 2018 15:47:39 +0000 (17:47 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 5 Oct 2018 07:30:48 +0000 (09:30 +0200)
Use the preinstalled MSYS2 bash for that.
Disable test 1139 as the CMake build doesn't generate curl.1.

Ref: https://github.com/curl/curl/issues/3070#issuecomment-425922224
Closes https://github.com/curl/curl/pull/3100

appveyor.yml

index 46f2f6554ba6b61b3a6682b54c84789b81ec038c..ee5edf1190e8830b9db4228185832d04d8ffbab1 100644 (file)
@@ -67,6 +67,10 @@ build_script:
     - cmake . -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DBUILD_SHARED_LIBS=%SHARED% -DBUILD_TESTING=%TESTING% -DCURL_WERROR=ON -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE="" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=""
     - cmake --build . --config %PRJ_CFG% --clean-first
 
+test_script:
+    - if %TESTING%==ON (
+        C:\msys64\usr\bin\bash.exe -e -l -c "cd /c/projects/curl/tests && ./runtests.pl -a -p !flaky !1139" )
+
 # whitelist branches to avoid testing feature branches twice (as branch and as pull request)
 branches:
     only: