Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index



Lionel Elie Mamane wrote:

On Wed, Aug 03, 2011 at 04:51:13PM +0100, Caolán McNamara wrote:

What are your configure options for me to see if I can replicate this ?
Looks like evilness which should be fixed.

I'm in a similar situation on master branch, but for me the smoketest
fails in officeconnection.cxx in function OfficeConnection::setUp(),
at that assertion:

    for (;;) {
        try {
            context_ =
                css::uno::Reference< css::uno::XComponentContext >(
                    resolver->resolve(
                        rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("uno:"))
                      +
                        desc +
                        rtl::OUString(
                            RTL_CONSTASCII_USTRINGPARAM(
                                ";urp;StarOffice.ComponentContext"))),
                    css::uno::UNO_QUERY_THROW);
            break;
        } catch (css::connection::NoConnectException &) {}
        if (process_ != 0) {
            TimeValue delay = { 1, 0 }; // 1 sec
            CPPUNIT_ASSERT_EQUAL(
                osl_Process_E_TimedOut,
                osl_joinProcessWithTimeout(process_, &delay));
        }
    }

I changed the last lines to:

oslProcessError

        if (process_ != 0) {
            TimeValue delay = { 1, 0 }; // 1 sec
          oslProcessError rv = osl_joinProcessWithTimeout(process_, &delay);
          fprintf(stderr, "%d\n", rv);
           CPPUNIT_ASSERT_EQUAL(
                osl_Process_E_TimedOut,
                rv);
        }

And then I see that the assertion succeeds several times, and then
finally fails, when the return value of the function call becomes
osl_Process_E_None (that is, 0).

-- 
Lionel

I noticed exactly the same thing but then I don't know how to go on the
investigation. On IRC, Moggi told me this was a know issue but it doesn't
happen on every machine. I'm curious to know if it happens on Mac or
Windows.

Julien.


--
View this message in context: 
http://nabble.documentfoundation.org/Make-dev-install-without-running-smoketests-tp3221086p3223566.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.