Skip to content

Commit a520a74

Browse files
authored
Rollup merge of #150427 - ZuseZ4:offload-testinfra, r=jieyouxu
add has_offload/needs-offload to the test infra unblocks: rust-lang/rust#150426 Mostly copied from rust-lang/rust#131044 lmk if some of these changes should land separately? r? jieyouxu
2 parents 86df091 + 35c0eaa commit a520a74

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tests/directives.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ settings:
213213
that this directive can be overriden with the `--bypass-ignore-backends=[BACKEND]` command line
214214
flag.
215215
- `needs-backends` — only runs the test if current codegen backend is listed.
216+
- `needs-offload` — ignores if our LLVM backend was not built with offload support.
217+
- `needs-enzyme` — ignores if our Enzyme submodule was not built.
216218

217219
The following directives will check LLVM support:
218220

0 commit comments

Comments
 (0)