Skip to content

Commit 0dfddb2

Browse files
authored
[SYCLomatic] Fix lit test case clang/test/dpct/compilation_database/parse_single_quoted_str/test.cu (#2807)
Signed-off-by: intwanghao <hao3.wang@intel.com>
1 parent 27f5cf0 commit 0dfddb2

File tree

1 file changed

+2
-3
lines changed
  • clang/test/dpct/compilation_database/parse_single_quoted_str

1 file changed

+2
-3
lines changed

clang/test/dpct/compilation_database/parse_single_quoted_str/test.cu

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// UNSUPPORTED: system-windows
2-
// RUN: rm -rf out
2+
// RUN: rm -rf %T/out
33
// RUN: cd %T
44
// RUN: cat %S/compile_commands.json > %T/compile_commands.json
55
// RUN: cat %s > %T/test.cu
@@ -9,13 +9,12 @@
99
// RUN: %if build_lit %{icpx -DNAMD="\"3.0b3\"" -c -fsycl %T/out/test.dp.cpp -o %T/out/test.dp.o %}
1010
// RUN: FileCheck %S/test_isolate.cu --match-full-lines --input-file %T/out/test_isolate.dp.cpp
1111

12-
// RUN: rm -rf out
12+
// RUN: rm -rf %T/out
1313
// RUN: cat %S/build.log > %T/build.log
1414
// RUN: not dpct -intercept-build --parse-build-log build.log
1515
// RUN: dpct --format-range=none -in-root=./ -out-root=%T/out -p ./ --cuda-include-path="%cuda-path/include"
1616
// RUN: FileCheck %s --match-full-lines --input-file %T/out/test.dp.cpp
1717

18-
1918
// CHECK: #include <sycl/sycl.hpp>
2019
// CHECK-NEXT: #include <dpct/dpct.hpp>
2120
// CHECK-NEXT: #include <iostream>

0 commit comments

Comments
 (0)