From f4dc8a869ac49f19c20fc5fa606448e9103726bd Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 3 Jan 2016 16:29:50 +0100 Subject: [PATCH] the idea behind the test can't work right now The Test currently tries to test the OpenCL and the SW interpreter and assumes that it will show different results. However if we succeed in generating an OpenCL interpreter we will never generate a SW interpreter. There are a number of problems with the approach taken in this test. 1.) Assuming that we are able to execute OpenCL is an invalid assumption. 2.) Changing the configuration inside of a test needs to be exeption save as we are otherwise left with a strange config for the remaining test cases. 3.) Changing the configuration does not change the formula group interpreter. This needs to be done explicitly. Change-Id: I679985ee7551b21aaa52038e107324980e7e1bb6 --- sc/qa/unit/ucalc.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx index fc90f81d4b24..b3e5bf396504 100644 --- a/sc/qa/unit/ucalc.hxx +++ b/sc/qa/unit/ucalc.hxx @@ -474,7 +474,7 @@ public: CPPUNIT_TEST(testFormulaCreateStringFromTokens); CPPUNIT_TEST(testFormulaParseReference); CPPUNIT_TEST(testFetchVectorRefArray); - CPPUNIT_TEST(testFormulaHashAndTag); + // CPPUNIT_TEST(testFormulaHashAndTag); CPPUNIT_TEST(testFormulaTokenEquality); CPPUNIT_TEST(testFormulaRefData); CPPUNIT_TEST(testFormulaCompiler);