Skip Compiler Unload Tests in Binary Mode (#1025)

The following tests make calls to `clCompileProgram` or
`clBuildProgram` and therefore require a compiler in the runtime:
  * `unload_repeated`
  * `unload_compile_unload_link`
  * `unload_build_unload_create_kernel`
  * `unload_link_different↩`
  * `unload_build_threaded`
  * `unload_build_info`
  * `unload_program_binaries`

Skip these tests if no compiler is present in the runtime.
This commit is contained in:
Jack Frankland
2020-10-30 15:29:19 +01:00
committed by GitHub
parent e815bf3565
commit e7a23536e5

View File

@@ -738,6 +738,13 @@ const char *subtests_to_skip_with_offline_compiler[] = {
"simple_static_compile_only",
"two_file_link",
"async_build",
"unload_repeated",
"unload_compile_unload_link",
"unload_build_unload_create_kernel",
"unload_link_different",
"unload_build_threaded",
"unload_build_info",
"unload_program_binaries",
};
int check_functions_for_offline_compiler(const char *subtestname,