[Development] Loading moc plugins when running tests in CI system

Blasche Alexander Alexander.Blasche at digia.com
Tue Jan 7 10:01:29 CET 2014


Aaron is referring to "mock" plug-ins

http://en.wikipedia.org/wiki/Mock_object

--

Alex

________________________________________
From: development-bounces+alexander.blasche=digia.com at qt-project.org [development-bounces+alexander.blasche=digia.com at qt-project.org] on behalf of Olivier Goffart [olivier at woboq.com]
Sent: Tuesday, January 07, 2014 09:54
To: development at qt-project.org
Subject: Re: [Development] Loading moc plugins when running tests in CI system

On Tuesday 07 January 2014 14:12:22 Aaron McCarthy wrote:
> Hi,
>
> Qt Positioning and Qt Location use moc plugins in various test cases. These
> tests run fine locally with a developer build of Qt but fail when run in the
> CI system. From what it looks like this is because the moc plugins are not
> installed and cannot be loaded, see integration failure in [1].
>
> The moc plugins are built under the top-level tests project which is not
> installed by default. My question is what is the recommended approach to
> ensure that moc plugins are loadable when running tests in the CI system?
>
> [1] https://codereview.qt-project.org/73984


What do you mean by moc plugin?  moc does not have a plugin system (it is not
loading any plugin) AFAIK.

--
Olivier

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org
_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list