From 803d23807340ce1403032578bc74fc0cc9e30742 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Tue, 2 Oct 2018 17:47:39 +0200 Subject: [PATCH] AppVeyor: run test suite 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 46f2f6554..ee5edf119 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: