Skip to content

Commit 39604ba

Browse files
committed
fix format
1 parent aa5d6bc commit 39604ba

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

sycl/test-e2e/AddressSanitizer/common/options-invalid-values.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %{build} %device_asan_flags -O0 -g -o %t
33
// RUN: %{run} %t
44

5+
// clang-format off
56
// Invalid ur option format
67
// RUN: env UR_LAYER_ASAN_OPTIONS=a:1,b:1 %{run} not %t 2>&1 | FileCheck %s --check-prefixes INVALID-FORMAT
78
// INVALID-FORMAT: <SANITIZER>[ERROR]: Wrong format of the UR_LAYER_ASAN_OPTIONS environment variable value
@@ -20,8 +21,7 @@
2021
// INVALID-REDZONE: <SANITIZER>[ERROR]: "redzone" should be an integer in range[0, 16].
2122
// RUN: env UR_LAYER_ASAN_OPTIONS=max_redzone:abc %{run} not %t 2>&1 | FileCheck %s --check-prefixes INVALID-MAXREDZONE
2223
// INVALID-MAXREDZONE: <SANITIZER>[ERROR]: "max_redzone" should be an integer in range[0, 2048].
23-
24-
24+
// clang-format on
2525

2626
#include <sycl/usm.hpp>
2727

sycl/test-e2e/AddressSanitizer/common/options-redzone.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
// RUN: %{build} %device_asan_flags -DUNSAFE -O0 -g -o %t1.out
33
// RUN: env UR_LAYER_ASAN_OPTIONS=redzone:64 %{run} not %t1.out 2>&1 | FileCheck %s
44
// RUN: %{build} %device_asan_flags -DSAFE -O0 -g -o %t2.out
5+
6+
// clang-format off
57
// RUN: env UR_LOG_SANITIZER=level:debug UR_LAYER_ASAN_OPTIONS=redzone:8 %{run} %t2.out 2>&1 | FileCheck --check-prefixes CHECK-MIN %s
68
// RUN: env UR_LOG_SANITIZER=level:debug UR_LAYER_ASAN_OPTIONS=max_redzone:4096 %{run} %t2.out 2>&1 | FileCheck --check-prefixes CHECK-MAX %s
9+
// clang-format on
710

811
#include <sycl/usm.hpp>
912

0 commit comments

Comments
 (0)