From 5f14bd69d19e695c784b745cca526c3f736304dd Mon Sep 17 00:00:00 2001 From: Bartosz Sochacki Date: Fri, 29 Jan 2016 12:11:20 -0800 Subject: [PATCH] build break fix for bug 15266 "Add test for -cl-fp32-correctly-rounded-divide-sqrt to spir subtest." --- test_conformance/spir/run_build_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/spir/run_build_test.cpp b/test_conformance/spir/run_build_test.cpp index 684226a7..4dd3f0d4 100644 --- a/test_conformance/spir/run_build_test.cpp +++ b/test_conformance/spir/run_build_test.cpp @@ -378,7 +378,7 @@ bool TestRunner::runBuildTest(cl_device_id device, const char *folder, if (strstr(test_name, "div_cr") || strstr(test_name, "sqrt_cr")) { if ((gFloatCapabilities & CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT) == 0) - return; + return true; else { bcoptions += " -cl-fp32-correctly-rounded-divide-sqrt"; cloptions += " -cl-fp32-correctly-rounded-divide-sqrt";