Skip to content

Commit c3603da

Browse files
committed
Fix E2E test for seperate run and build mode
1 parent 2f9599c commit c3603da

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/test-e2e/KernelCompiler/kernel_compiler_cache_eviction.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@
1010

1111
// REQUIRES: ocloc && (opencl || level_zero)
1212
// UNSUPPORTED: accelerator
13+
// UNSUPPORTED-INTENDED: kernel_compiler is not available for accelerator
14+
// devices.
1315

1416
// -- Test the kernel_compiler with OpenCL source.
1517
// RUN: %{build} -o %t.out
1618

1719
// -- Test again, with caching.
1820
// DEFINE: %{cache_vars} = env SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=7 SYCL_CACHE_DIR=%t/cache_dir SYCL_CACHE_MAX_SIZE=23000
19-
// RUN: rm -rf %t/cache_dir
20-
// RUN: %{cache_vars} %t.out 2>&1 | FileCheck %s --check-prefix=CHECK
21+
// RUN: %if run-mode %{rm -rf %t/cache_dir%}
22+
// RUN: %{cache_vars} %{run} %t.out 2>&1 | FileCheck %s --check-prefix=CHECK
2123

2224
// CHECK: [Persistent Cache]: enabled
2325

0 commit comments

Comments
 (0)