Skip to content

Commit 184ee83

Browse files
committed
adjust debug_option
1 parent 4fdfcc9 commit 184ee83

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

sycl/test-e2e/KernelAndProgram/kernel-bundle-merge-options.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
// REQUIRES: gpu
2-
// RUN: %{build} -o %t.out -g
2+
// RUN: %{build} -o %t.out %debug_option
33
// RUN: env SYCL_UR_TRACE=2 %{run} %t.out | FileCheck %s
44
// UNSUPPORTED: hip
55

6-
// Rather than %debug_option, we just use -g since it's supported everywhere
7-
// and simplifies things on the FileCheck side.
8-
96
// Note that the UR call might be urProgramBuild OR urProgramBuildExp .
107
// The same is true for Compile and Link.
118
// We want the first match. Don't put parentheses after.

sycl/test-e2e/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def open_check_file(file_name):
381381
)
382382
)
383383
config.substitutions.append(("%include_option", "/FI"))
384-
config.substitutions.append(("%debug_option", "/DEBUG"))
384+
config.substitutions.append(("%debug_option", "/Zi /DEBUG"))
385385
config.substitutions.append(("%cxx_std_option", "/std:"))
386386
config.substitutions.append(("%fPIC", ""))
387387
config.substitutions.append(("%shared_lib", "/LD"))

0 commit comments

Comments
 (0)