[Libreoffice-commits] core.git: basic/qa
Tor Lillqvist
tml at collabora.com
Thu Oct 27 09:47:47 UTC 2016
basic/qa/cppunit/test_vba.cxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit f29ce347f906d4147e7366a888dd4b401cbb1894
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Oct 27 12:25:09 2016 +0300
Bypass VBATest::testMiscOLEStuff() in a 64-bit Windows build for now
It fails when Excel is installed, for some reason:
Basic error:
Type: com.sun.star.uno.RuntimeException
Message: [automation bridge] unexpected exception in IUnknownWrapper_Impl::invoke ! Message :
[automation bridge]: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
macro result for ole_ObjAssignNoDflt.vb
macro returned:
C:/cygwin64/home/Tor/lo/64bit-debug/basic/qa/cppunit/test_vba.cxx:155:`anonymous namespace'::VBATest::testMiscOLEStuff
assertion failed
- Expression: pReturn->GetOUString() == "OK"
- Result not as expected
Note that this test returns early if Excel is not installed, so it is
not run effectively performed anyway even in 32-bit builds on most
(any?) Jenkins and tinderbox machines.
Change-Id: I0a0b6f27219dec116369fae1bb7c95b3e9597e77
diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index fb16951..4e5adc3 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -87,8 +87,10 @@ void VBATest::testMiscVBAFunctions()
void VBATest::testMiscOLEStuff()
{
-// not much point even trying to run except on windows
-#if defined(_WIN32)
+// Not much point even trying to run except on Windows. Does not work
+// on 64-bit Windows with Excel installed. (Without Excel doesn't
+// really do anything anyway, see "so skip test" below.)
+#if defined(_WIN32) && !defined(_WIN64)
// test if we have the necessary runtime environment
// to run the OLE tests.
uno::Reference< lang::XMultiServiceFactory > xOLEFactory;
More information about the Libreoffice-commits
mailing list