Skip to content

Commit 66e9f3c

Browse files
[SYCL][Test E2E] Use %{build}/%{run} in WeakObject tests (#9342)
1 parent 6bfb33d commit 66e9f3c

8 files changed

+16
-16
lines changed

sycl/test-e2e/WeakObject/weak_object_copy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %BE_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
33

44
// This test checks the behavior of the copy ctor and assignment operator for
55
// `weak_object`.

sycl/test-e2e/WeakObject/weak_object_expired.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %BE_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
33

44
// This test checks the behavior of `expired()` for `weak_object`.
55

sycl/test-e2e/WeakObject/weak_object_lock.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %BE_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
33

44
// This test checks the behavior of `lock()` for `weak_object`.
55

sycl/test-e2e/WeakObject/weak_object_move.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %BE_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
33

44
// This test checks the behavior of the copy ctor and assignment operator for
55
// `weak_object`.

sycl/test-e2e/WeakObject/weak_object_owner_before.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %BE_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
33

44
// This test checks the behavior of owner_before semantics for `weak_object`.
55

sycl/test-e2e/WeakObject/weak_object_owner_less.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %BE_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
33

44
// This test checks the behavior of owner_less semantics for `weak_object`.
55

sycl/test-e2e/WeakObject/weak_object_reset.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %BE_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
33

44
// This test checks the behavior of `reset()` for `weak_object`.
55

sycl/test-e2e/WeakObject/weak_object_try_lock.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %BE_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
33

44
// This test checks the behavior of `try_lock()` for `weak_object`.
55

0 commit comments

Comments
 (0)