Skip to content

Commit 75f476d

Browse files
authored
[SYCL][E2E] Replace TEMPORARY_DISABLED by UNSUPPORTED (#15946)
To unify the mechanism to disable tests this patch replaces `REQUIRES: TEMPORARY_DISABLED` by `UNSUPPORTED: true` to disable the test. Also updating the tests using "TEMPORARY_DISABLED".
1 parent 10ed997 commit 75f476d

File tree

13 files changed

+33
-13
lines changed

13 files changed

+33
-13
lines changed

sycl/test-e2e/Basic/free_function_queries/free_function_queries.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// FIXME: Investigate OS-agnostic failures
2-
// REQUIRES: TEMPORARY_DISABLED
2+
// UNSUPPORTED: true
33
// RUN: %{build} -o %t.out
44
// RUN: %{run} %t.out
55

sycl/test-e2e/Basic/free_function_queries/free_function_queries_sub_group.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// FIXME: Investigate OS-agnostic failures
2-
// REQUIRES: TEMPORARY_DISABLED
2+
// UNSUPPORTED: true
33
// UNSUPPORTED: cuda || hip
44
// CUDA and HIP compilation and runtime do not yet support sub-groups.
55
//

sycl/test-e2e/Basic/image/image_accessor_range.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: aspect-ext_intel_legacy_image
22
// FIXME: Investigate OS-agnostic failures
3-
// REQUIRES: TEMPORARY_DISABLED
3+
// UNSUPPORTED: true
44

55
// UNSUPPORTED: cuda || hip
66
// CUDA does not support SYCL 1.2.1 images.

sycl/test-e2e/GroupAlgorithm/barrier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Temporarily disabled due to regressions introduced by
22
// https://github.com/intel/llvm/pull/8412.
3-
// REQUIRES: TEMPORARY_DISABLED
3+
// UNSUPPORTED: true
44

55
// RUN: %{build} -o %t.out -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_80
66
// RUN: %{run} %t.out

sycl/test-e2e/InvokeSimd/Feature/ImplicitSubgroup/popcnt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// NOTE: The feature is not yet supported, there is a discussion on the
22
// feasibility of tests
3-
// REQUIRES: TEMPORARY_DISABLED
3+
// UNSUPPORTED: true
44
//
55
// Check that full compilation works:
66
// RUN: %clangxx -DIMPL_SUBGROUP -fsycl -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr %S/../popcnt.cpp -o %t.out

sycl/test-e2e/InvokeSimd/Feature/popcnt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// NOTE: The feature is not yet supported, there is a discussion on the
22
// feasibility of tests
3-
// REQUIRES: TEMPORARY_DISABLED
3+
// UNSUPPORTED: true
44
//
55
// Check that full compilation works:
66
// RUN: %{build} -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr -o %t.out

sycl/test-e2e/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,3 +369,13 @@ temporarily disabled due to some issue.
369369
If you add `UNSUPPORTED` without `UNSUPPORTED-TRACKER` or `UNSUPPORTED-INTENDED`
370370
directive, the `no-unsupported-without-tracker.cpp` test will fail, notifying
371371
you about that.
372+
373+
To disable the test completely, you can use:
374+
```
375+
// USNUPPORTED: true
376+
```
377+
378+
Note: please avoid using `REQUIRES: TEMPORARY_DISABLED` for this purpose, it's
379+
a non-standard mechanism. Use `UNSUPPORTED: true` instead, we track
380+
`UNSUPPORTED` tests using the mechanism described above. Otherwise the test
381+
risks remaining untraceable.

sycl/test-e2e/Regression/complex_global_object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
// such objects do not cause problems if the first call to SYCL is inside main
77
// and the last call is in global destructor.
88

9-
// REQUIRES: TEMPORARY_DISABLED
109
// Disable test due to flacky failures
10+
// UNSUPPORTED: true
1111

1212
#include <sycl/detail/core.hpp>
1313

sycl/test-e2e/Regression/event_destruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: TEMPORARY_DISABLED
1+
// UNSUPPORTED: true
22
// Temporarily disabled because the test is out of time
33
// RUN: %{build} -o %t.out
44
// RUN: %{run} %t.out

sycl/test-e2e/Regression/local-arg-align.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// RUN: %{run} %t.out
44

5-
// https://github.com/intel/llvm/issues/10682
6-
// REQUIRES: TEMPORARY_DISABLED
5+
// UNSUPPORTED: true
6+
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/10682
77

88
//==-- local-arg-align.cpp - Test for local argument alignmnent ------------==//
99
//

0 commit comments

Comments
 (0)