diff --git a/sycl/source/detail/kernel_compiler/kernel_compiler_sycl.cpp b/sycl/source/detail/kernel_compiler/kernel_compiler_sycl.cpp index 2967786673a50..e77e64b5f482d 100644 --- a/sycl/source/detail/kernel_compiler/kernel_compiler_sycl.cpp +++ b/sycl/source/detail/kernel_compiler/kernel_compiler_sycl.cpp @@ -257,7 +257,7 @@ bool SYCL_Compilation_Available() { std::filesystem::path DumpPath = tmp / (id + "_version.txt"); std::string Compiler = getCompilerName(); std::string TestCommand = - Compiler + " --version &> " + DumpPath.make_preferred().string(); + Compiler + " --version > " + DumpPath.make_preferred().string(); int result = std::system(TestCommand.c_str()); return (result == 0); diff --git a/sycl/test-e2e/KernelCompiler/kernel_compiler_sycl.cpp b/sycl/test-e2e/KernelCompiler/kernel_compiler_sycl.cpp index 245fd7283a2fa..ccb12dfa5bd14 100644 --- a/sycl/test-e2e/KernelCompiler/kernel_compiler_sycl.cpp +++ b/sycl/test-e2e/KernelCompiler/kernel_compiler_sycl.cpp @@ -123,6 +123,7 @@ void test_build_and_run() { "kernel bundle extension: " << q.get_device().get_info() << std::endl; + assert(ok); return; } diff --git a/sycl/test-e2e/no_sycl_hpp_in_e2e_tests.cpp b/sycl/test-e2e/no_sycl_hpp_in_e2e_tests.cpp index 74f8e1aed8aff..a7c2329b23dc7 100644 --- a/sycl/test-e2e/no_sycl_hpp_in_e2e_tests.cpp +++ b/sycl/test-e2e/no_sycl_hpp_in_e2e_tests.cpp @@ -7,7 +7,7 @@ // CHECK-DAG: no_sycl_hpp_in_e2e_tests.cpp // CHECK-DAG: lit.cfg.py // -// CHECK-NUM-MATCHES: 4 +// CHECK-NUM-MATCHES: 5 // // This test verifies that `` isn't used in E2E tests. Instead, // fine-grained includes should used, see