[Interest] tryLock for QSystemSemaphore

Thiago Macieira thiago.macieira at intel.com
Sun Oct 22 01:26:15 CEST 2017


On Saturday, 21 October 2017 11:25:43 PDT Konstantin Shegunov wrote:
> The Qt Continuous Integration system has a timeout of 15 minutes for any
> 
> > test,
> > except tst_QNetworkReply (that one is allowed to run for longer). That
> > way, we
> > don't depend on any internal state being consistent. Like you said, in the
> > case of a failing test, quite by definition the internal state of the
> > application is not what we expected it to be.
> 
> Ok, I'll have a look at that to see how it was implemented for the network
> classes, it should be pretty similar to what I need to do.
> Thanks for the input Thiago, much appreciated!

It's implemented for all classes. The harness is not part of QtTest: it's the 
set of tools that run the applications.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list