From e7a23536e5d789c275867dd40d3ef68998467517 Mon Sep 17 00:00:00 2001 From: Jack Frankland <30410009+FranklandJack@users.noreply.github.com> Date: Fri, 30 Oct 2020 15:29:19 +0100 Subject: [PATCH] Skip Compiler Unload Tests in Binary Mode (#1025) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- test_common/harness/errorHelpers.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test_common/harness/errorHelpers.cpp b/test_common/harness/errorHelpers.cpp index b01e5298..87701f1c 100644 --- a/test_common/harness/errorHelpers.cpp +++ b/test_common/harness/errorHelpers.cpp @@ -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,