Skip to content

Commit

Permalink
increase TSAN test to 400 iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
daanx committed Aug 22, 2024
1 parent d8e0cb1 commit db3d848
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
solution: $(BuildType)/libmimalloc.sln
configuration: '$(MSBuildConfiguration)'
msbuildArguments: -m
- script: ctest --verbose --timeout 240 -C $(MSBuildConfiguration)
- script: ctest --verbose --timeout 180 -C $(MSBuildConfiguration)
workingDirectory: $(BuildType)
displayName: CTest
#- script: $(BuildType)\$(BuildType)\mimalloc-test-stress
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
cmakeArgs: .. $(cmakeExtraArgs)
- script: make -j$(nproc) -C $(BuildType)
displayName: Make
- script: ctest --verbose --timeout 240
- script: ctest --verbose --timeout 180
workingDirectory: $(BuildType)
displayName: CTest
env:
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
cmakeArgs: .. $(cmakeExtraArgs)
- script: make -j$(sysctl -n hw.ncpu) -C $(BuildType)
displayName: Make
- script: ctest --verbose --timeout 240
- script: ctest --verbose --timeout 180
workingDirectory: $(BuildType)
displayName: CTest
# - upload: $(Build.SourcesDirectory)/$(BuildType)
Expand Down Expand Up @@ -193,5 +193,5 @@ jobs:
# configuration: '$(MSBuildConfiguration)'
# - script: |
# cd $(BuildType)
# ctest --verbose --timeout 240
# ctest --verbose --timeout 180
# displayName: CTest
2 changes: 1 addition & 1 deletion test/test-stress.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ terms of the MIT license.
#if defined(MI_TSAN) // with thread-sanitizer reduce the threads to test within the azure pipeline limits
static int THREADS = 8;
static int SCALE = 25;
static int ITER = 200;
static int ITER = 400;
#elif defined(MI_UBSAN) // with undefined behavious sanitizer reduce parameters to stay within the azure pipeline limits
static int THREADS = 8;
static int SCALE = 25;
Expand Down

0 comments on commit db3d848

Please sign in to comment.