summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-10-12 06:23:25 +0200
committerMarc Hoersken <info@marc-hoersken.de>2020-10-16 20:10:26 +0200
commit354afc891df4b60b8017fc5d35a05daedb2cd812 (patch)
tree2d742d88d8e85836c1520a3812d8827d48a8173a
parentbfd35d5edadffa5d36e99c1c7b1b060d88510fdd (diff)
downloadcurl-354afc891df4b60b8017fc5d35a05daedb2cd812.tar.gz
CI/azure: improve on flakiness by avoiding libtool wrappers
Install curl binaries into MinGW bin folder and use that for the tests in order to avoid libtool wrapper binaries. The libtool wrapper binaries (not scripts) on Windows seem to be one of the possible causes for the following issues: 1. Process output can be lost in the wrapper process chain. 2. Killing the wrapper process does not kill the actual one. Derived from #5904 Closes #6049
-rw-r--r--.azure-pipelines.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 9359dfa90..57f60c95c 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -83,7 +83,7 @@ stages:
displayName: 'configure $(name)'
- script: make
- displayName: 'make'
+ displayName: 'make && cd tests && make'
- script: make test-nonflaky
displayName: 'test'
@@ -188,11 +188,14 @@ stages:
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && ./buildconf && ./configure $(configure)"
displayName: 'configure $(name)'
- - script: $(container_cmd) -l -c "cd $(echo '%cd%') && make"
+ - script: $(container_cmd) -l -c "cd $(echo '%cd%') && make && cd tests && make"
displayName: 'make'
+ - script: $(container_cmd) -l -c "cd $(echo '%cd%') && make install && PATH=/usr/bin:/bin find . -type f -path '*/.libs/*.exe' -print -execdir mv -t .. {} \;"
+ displayName: 'install'
+
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && make test-nonflaky"
displayName: 'test'
env:
AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
- TFLAGS: "-r $(tests)"
+ TFLAGS: "-vc /usr/bin/curl.exe -r $(tests)"