File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
sycl/test-e2e/KernelCompiler Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 17
17
18
18
// -- Test again, with caching.
19
19
// DEFINE: %{cache_vars} = env SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=5 SYCL_CACHE_DIR=%t/cache_dir
20
- // RUN: rm -rf %t/cache_dir
21
- // RUN: %{cache_vars} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-WRITTEN-TO-CACHE
22
- // RUN: %{cache_vars} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-READ-FROM-CACHE
20
+ // RUN: %{run-aux} rm -rf %t/cache_dir
21
+ // RUN: %{cache_vars} %{run } %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-WRITTEN-TO-CACHE
22
+ // RUN: %{cache_vars} %{run } %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-READ-FROM-CACHE
23
23
24
24
// -- Add leak check.
25
- // RUN: rm -rf %t/cache_dir
26
- // RUN: %{l0_leak_check} %{cache_vars} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-WRITTEN-TO-CACHE
27
- // RUN: %{l0_leak_check} %{cache_vars} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-READ-FROM-CACHE
25
+ // RUN: %{run-aux} rm -rf %t/cache_dir
26
+ // RUN: %{l0_leak_check} %{cache_vars} %{run } %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-WRITTEN-TO-CACHE
27
+ // RUN: %{l0_leak_check} %{cache_vars} %{run } %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-READ-FROM-CACHE
28
28
29
29
// CHECK-WRITTEN-TO-CACHE: [Persistent Cache]: enabled
30
30
// CHECK-WRITTEN-TO-CACHE-NOT: [kernel_compiler Persistent Cache]: using cached binary
Original file line number Diff line number Diff line change 18
18
// -- Run with caching.
19
19
20
20
// DEFINE: %{cache_vars} = %{l0_leak_check} env SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=5 SYCL_CACHE_DIR=%t/cache_dir
21
- // RUN: rm -rf %t/cache_dir
22
- // RUN: %{cache_vars} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-WRITTEN-TO-CACHE
23
- // RUN: %{cache_vars} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-READ-FROM-CACHE
21
+ // RUN: %{run-aux} rm -rf %t/cache_dir
22
+ // RUN: %{cache_vars} %{run } %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-WRITTEN-TO-CACHE
23
+ // RUN: %{cache_vars} %{run } %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-READ-FROM-CACHE
24
24
25
25
// CHECK-WRITTEN-TO-CACHE: [Persistent Cache]: enabled
26
26
// CHECK-WRITTEN-TO-CACHE-NOT: [kernel_compiler Persistent Cache]: using cached binary
You can’t perform that action at this time.
0 commit comments