llvm icon indicating copy to clipboard operation
llvm copied to clipboard

Refactor SYCLBIN testing to unify target modes

Open steffenlarsen opened this issue 1 month ago • 0 comments

Suggested by @aelovikov-intel in https://github.com/intel/llvm/pull/20707#pullrequestreview-3493514286_:

Have a local format.py in SYCLBIN such that

// REQUIRES-EXEC: ...
// REQUIRES-OBJ: ...
// REQUIRES-INPUT: ...
// RUN-EXEC: <exec-specific>
// RUN-OBJ: <object-specific>
// RUN-INPUT: <input-specific>
// RUN: %{build} ...
// RUN: %{run} ...

would generate three tests "on-the-fly".

This should allow the SYCLBIN tests to include execution, object and input testing in the same file, rather than having to split each case into separate files, despite testing the same functionality for the different target modes.

steffenlarsen avatar Nov 24 '25 08:11 steffenlarsen