[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - sc/qa
Markus Mohrhard
markus.mohrhard at googlemail.com
Sun Nov 17 16:34:36 PST 2013
sc/qa/unit/opencl-test.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 2ac636406995e6b11297bc20244c498991264791
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Nov 18 00:54:36 2013 +0100
disable test if no OpenCL platform is found
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index c9d4e25..b2d4b87 100644
--- a/sc/qa/unit/opencl-test.cxx
+++ b/sc/qa/unit/opencl-test.cxx
@@ -714,6 +714,9 @@ void ScOpenclTest::testMathFormulaCos()
//[AMLOEXT-116]
void ScOpenclTest::testMathFormulaSinh()
{
+ if (!detectOpenCLDevice())
+ return;
+
ScDocShellRef xDocSh = loadDoc("opencl/math/sinh.", XLS);
enableOpenCL(); ScDocument* pDoc = xDocSh->GetDocument();
CPPUNIT_ASSERT(pDoc); xDocSh->DoHardRecalc(true);
More information about the Libreoffice-commits
mailing list