[Openmp-commits] [openmp] 3195449 - [test][openmp] Relax condition in test

Vitaly Buka via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 23 14:29:23 PDT 2022


Author: Vitaly Buka
Date: 2022-08-23T14:29:06-07:00
New Revision: 3195449f2b7d1f186c70f5d7a4c79816cab8fbc5

URL: https://github.com/llvm/llvm-project/commit/3195449f2b7d1f186c70f5d7a4c79816cab8fbc5
DIFF: https://github.com/llvm/llvm-project/commit/3195449f2b7d1f186c70f5d7a4c79816cab8fbc5.diff

LOG: [test][openmp] Relax condition in test

It runs 8 threads. Sometimes tsan is able to detect more than one of the
same race.

Added: 
    

Modified: 
    openmp/tools/archer/tests/races/task-two.c

Removed: 
    


################################################################################
diff  --git a/openmp/tools/archer/tests/races/task-two.c b/openmp/tools/archer/tests/races/task-two.c
index 06d5bc021ee65..fad36973184a3 100644
--- a/openmp/tools/archer/tests/races/task-two.c
+++ b/openmp/tools/archer/tests/races/task-two.c
@@ -41,4 +41,4 @@ int main(int argc, char *argv[]) {
 // CHECK:   Previous write of size 4
 // CHECK-NEXT: #0 {{.*}}task-two.c:30
 // CHECK: DONE
-// CHECK: ThreadSanitizer: reported 1 warnings
+// CHECK: ThreadSanitizer: reported {{[0-9]+}} warnings


        


More information about the Openmp-commits mailing list