diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2022-08-24 21:46:25 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2022-08-28 19:18:22 +0200 |
commit | c5c6e86783d6e2caea50eee66a29c7157c92f54f (patch) | |
tree | 1b1d24c57f7e4897beb7963952476ee56dd5737d /appveyor.yml | |
parent | 65bbb5e6f461af89b0901a3f3f14dad913bc2a36 (diff) | |
download | curl-c5c6e86783d6e2caea50eee66a29c7157c92f54f.tar.gz |
CI/runtests.pl: add param for dedicated curl to talk to APIs
This should make it possible to also report test failures
if our freshly build curl binary is not fully functional.
Reviewed-by: Daniel Stenberg
Closes #9360
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml index 522dcaf50..e04ca0fff 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -306,15 +306,19 @@ build_script: )) test_script: + - if exist C:/msys64/usr/bin/curl.exe ( + set ACURL=-ac %POSIX_PATH_PREFIX%/c/msys64/usr/bin/curl.exe ) + - if exist C:/Windows/System32/curl.exe ( + set ACURL=-ac %POSIX_PATH_PREFIX%/c/Windows/System32/curl.exe ) - if %TESTING%==ON ( if %BUILD_SYSTEM%==CMake ( - set TFLAGS=%DISABLED_TESTS% && + set TFLAGS=%ACURL% %DISABLED_TESTS% && cmake --build . --config %PRJ_CFG% --target test-ci ) else ( if %BUILD_SYSTEM%==autotools ( - bash.exe -e -l -c "cd %POSIX_PATH_PREFIX%/c/projects/curl && make V=1 TFLAGS='%DISABLED_TESTS%' test-ci" + bash.exe -e -l -c "cd %POSIX_PATH_PREFIX%/c/projects/curl && make V=1 TFLAGS='%ACURL% %DISABLED_TESTS%' test-ci" ) else ( - bash.exe -e -l -c "cd %POSIX_PATH_PREFIX%/c/projects/curl/tests && ./runtests.pl -a -p !flaky -r -rm %DISABLED_TESTS%" + bash.exe -e -l -c "cd %POSIX_PATH_PREFIX%/c/projects/curl/tests && ./runtests.pl -a -p !flaky -r -rm %ACURL% %DISABLED_TESTS%" )) ) |