[Openmp-commits] [openmp] 74fea6b - [test][openmp] Relax check for	tsan reports count
    Vitaly Buka via Openmp-commits 
    openmp-commits at lists.llvm.org
       
    Wed Oct 12 16:46:56 PDT 2022
    
    
  
Author: Vitaly Buka
Date: 2022-10-12T16:46:33-07:00
New Revision: 74fea6bffeb1724e761ece6b74561fbe4efc8d6d
URL: https://github.com/llvm/llvm-project/commit/74fea6bffeb1724e761ece6b74561fbe4efc8d6d
DIFF: https://github.com/llvm/llvm-project/commit/74fea6bffeb1724e761ece6b74561fbe4efc8d6d.diff
LOG: [test][openmp] Relax check for tsan reports count
I see 2 reports time to time.
Added: 
    
Modified: 
    openmp/tools/archer/tests/races/critical-unrelated.c
Removed: 
    
################################################################################
diff  --git a/openmp/tools/archer/tests/races/critical-unrelated.c b/openmp/tools/archer/tests/races/critical-unrelated.c
index bff8b9763c149..79a7a2dde9a8c 100644
--- a/openmp/tools/archer/tests/races/critical-unrelated.c
+++ b/openmp/tools/archer/tests/races/critical-unrelated.c
@@ -38,4 +38,4 @@ int main(int argc, char *argv[]) {
 // CHECK:   Previous write of size 4
 // CHECK-NEXT: #0 {{.*}}critical-unrelated.c:29
 // CHECK: DONE
-// CHECK: ThreadSanitizer: reported 1 warnings
+// CHECK: ThreadSanitizer: reported {{[1-3]}} warnings
        
    
    
More information about the Openmp-commits
mailing list