Skip to content

Commit d865c0c

Browse files
authored
[DevTSAN][E2E] Run test with deflake script to make positive tests more robust (#17483)
Also disable two unexpected flaky negative tests for further investigation
1 parent 1f589b3 commit d865c0c

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,4 @@ llvm/test/Instrumentation/MemorySanitizer/ @intel/dpcpp-sanitizers-review
208208
llvm/test/Instrumentation/ThreadSanitizer/ @intel/dpcpp-sanitizers-review
209209
sycl/test-e2e/AddressSanitizer/ @intel/dpcpp-sanitizers-review
210210
sycl/test-e2e/MemorySanitizer/ @intel/dpcpp-sanitizers-review
211+
sycl/test-e2e/ThreadSanitizer/ @intel/dpcpp-sanitizers-review

sycl/test-e2e/ThreadSanitizer/check_both_read.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// REQUIRES: linux, cpu || (gpu && level_zero)
22
// RUN: %{build} %device_tsan_flags -O0 -g -o %t1.out
33
// RUN: %{run} %t1.out 2>&1 | FileCheck %s
4+
// UNSUPPORTED: true
5+
// UNSUPPORTED-TRACKER: CMPLRLLVM-66203
46
#include "sycl/detail/core.hpp"
57
#include "sycl/usm.hpp"
68

sycl/test-e2e/ThreadSanitizer/check_no_race.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %{run} %t1.out 2>&1 | FileCheck %s
44
// RUN: %{build} %device_tsan_flags -O2 -g -o %t2.out
55
// RUN: %{run} %t2.out 2>&1 | FileCheck %s
6+
// UNSUPPORTED: true
7+
// UNSUPPORTED-TRACKER: CMPLRLLVM-66203
68
#include "sycl/detail/core.hpp"
79
#include "sycl/usm.hpp"
810

sycl/test-e2e/ThreadSanitizer/check_usm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: linux, cpu || (gpu && level_zero)
2+
// ALLOW_RETRIES: 10
23
// RUN: %{build} %device_tsan_flags -DMALLOC_DEVICE -O0 -g -o %t1.out
34
// RUN: %{run} %t1.out 2>&1 | FileCheck %s
45
// RUN: %{build} %device_tsan_flags -DMALLOC_DEVICE -O2 -g -o %t2.out

sycl/test-e2e/format.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ def parseTestScript(self, test):
7575
test.requires += parsed["REQUIRES:"] or []
7676
test.unsupported += test.config.unsupported_features
7777
test.unsupported += parsed["UNSUPPORTED:"] or []
78+
if parsed["ALLOW_RETRIES:"]:
79+
test.allowed_retries = parsed["ALLOW_RETRIES:"][0]
7880

7981
test.intel_driver_req = parsed["REQUIRES-INTEL-DRIVER:"]
8082

0 commit comments

Comments
 (0)