diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-29 22:06:34 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-29 22:10:32 -0400 |
commit | 91d88ff8646d5ae86c37b92441b7e857ec5e86ca (patch) | |
tree | d5b677d00d4d3d47a38eccbf97a8f138058ab7c8 /sc/qa | |
parent | f518cd28d7ebacf059ca826353c8202c87be957f (diff) |
We don't need this hack. This actually causes the test to crash....
On many Windows build environments.
Change-Id: Id025517363ec915ecdc311ba1c30b537d01808ae
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/opencl-test.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index 48548ab7c18b..1816eeb4ecab 100644 --- a/sc/qa/unit/opencl-test.cxx +++ b/sc/qa/unit/opencl-test.cxx @@ -47,7 +47,7 @@ class ScOpenclTest public: ScOpenclTest(); bool enableOpenCL(); - void SetEnv(); + virtual void setUp(); virtual void tearDown(); @@ -169,16 +169,6 @@ bool ScOpenclTest::load(const OUString &rFilter, const OUString &rURL, xDocShRef->DoClose(); return bLoaded; } -void ScOpenclTest::SetEnv() -{ - #ifdef WIN32 - char *newpathfull = (char *)malloc(1024); - newpathfull= "PATH=;C:\\Program Files (x86)\\AMD APP\\bin\\x86_64;"; - putenv(newpathfull); - #else - return; - #endif -} bool ScOpenclTest::enableOpenCL() { @@ -1462,7 +1452,6 @@ ScOpenclTest::ScOpenclTest() void ScOpenclTest::setUp() { test::BootstrapFixture::setUp(); - SetEnv(); // This is a bit of a fudge, we do this to ensure that ScGlobals::ensure, // which is a private symbol to us, gets called m_xCalcComponent = |