[Libreoffice] Make dev-install without running smoketests
julien2412
serval2412 at yahoo.fr
Wed Aug 3 14:28:29 PDT 2011
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.
More information about the LibreOffice
mailing list