Skip to content

Commit

Permalink
[SYCL] Require "asserts" build for `sycl/test/extensions/private_allo…
Browse files Browse the repository at this point in the history
…ca.cpp` (intel#13628)

See intel#13625.
  • Loading branch information
aelovikov-intel authored May 1, 2024
1 parent df2bc8d commit 229c239
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sycl/test/extensions/private_alloca.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// https://github.com/intel/llvm/issues/13625
// REQUIRES: asserts

// RUN: %clangxx -fsycl -fsycl-device-only -c -o %t.bc %s
// RUN: %if asserts %{sycl-post-link -debug-only=SpecConst %t.bc -spec-const=native -o %t.txt 2>&1 | FileCheck %s -check-prefixes=CHECK-LOG %} %else %{sycl-post-link %t.bc -spec-const=native -o %t.txt 2>&1 %}
// RUN: cat %t_0.prop | FileCheck %s -check-prefixes=CHECK,CHECK-RT
Expand Down

0 comments on commit 229c239

Please sign in to comment.