Skip to content

Commit 4fdfcc9

Browse files
committed
test improvement, issue 16309
1 parent 746a2bd commit 4fdfcc9

File tree

1 file changed

+12
-9
lines changed

1 file changed

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

6-
// Debug option -g is not passed to device code compiler when CL-style driver
7-
// is used and /DEBUG options is passed.
8-
// XFAIL: cl_options
9-
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16309
6+
// Rather than %debug_option, we just use -g since it's supported everywhere
7+
// and simplifies things on the FileCheck side.
8+
9+
// Note that the UR call might be urProgramBuild OR urProgramBuildExp .
10+
// The same is true for Compile and Link.
11+
// We want the first match. Don't put parentheses after.
1012

1113
#include "kernel-bundle-merge-options.hpp"
1214

1315
// CHECK: <--- urProgramBuild
1416
// CHECK-SAME: -g
1517

16-
// TODO: Uncomment when build options are properly passed to compile and link
18+
// CHECK: <--- urProgramCompile
19+
// CHECK-SAME: -g
20+
21+
// TODO: Uncomment when build options are properly passed to link
1722
// commands for kernel_bundle
18-
// xCHECK: <--- urProgramCompile(
19-
// xCHECK-SAME: -g
20-
// xCHECK: <--- urProgramLink(
23+
// xCHECK: <--- urProgramLink
2124
// xCHECK-SAME: -g

0 commit comments

Comments
 (0)