]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
azure: add a torture test on mac
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Dec 2019 14:15:56 +0000 (15:15 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 14 Dec 2019 22:34:44 +0000 (23:34 +0100)
Uses --shallow=25 to keep it small enough to get through in time.

Closes #4712

.azure-pipelines.yml

index 2e9d6a30718fd50e6875df34312c12b18097b301..ac0b0cc3e912e30d42acfa60126e95dcd7ae5cb5 100644 (file)
@@ -110,7 +110,7 @@ jobs:
     - script: brew update && brew install libtool autoconf automake nghttp2 pkg-config
       displayName: Install packages
 
-    - script: ./buildconf && ./configure
+    - script: ./buildconf && ./configure --enable-debug --enable-werror
       displayName: 'Run configure'
 
     - script: make
@@ -146,3 +146,21 @@ jobs:
 
     - script: cmake -H. -Bbuild -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCURL_DISABLE_LDAP=ON -DCURL_DISABLE_LDAPS=ON && cmake --build build
       displayName: 'Run cmake'
+
+  - job: macos_torture
+    displayName: macos torture
+    pool:
+      vmImage: 'macOS-latest'
+    steps:
+    - script: brew update && brew install libtool autoconf automake nghttp2 pkg-config
+      displayName: Install packages
+
+    - script: ./buildconf && ./configure --enable-debug --disable-shared --disable-threaded-resolver --enable-alt-svc
+      displayName: 'Run configure'
+
+    - script: make
+      displayName: 'make'
+
+    - script: make "TFLAGS=-n -t --shallow=25 '!FTP'" test-nonflaky
+      displayName: 'torture test'
+