On Thursday, 22. March 2012 15:50:34 Milian Wolff wrote:
> On Thursday 22 March 2012 11:08:35 Dominik Haumann wrote:
> > On Thursday, March 22, 2012 10:47:18 Milian Wolff wrote:
> > > Why not Zoidberg? Uhm I mean: ctest --timeout
> >
> > That would do the trick. Is it possible to set this timeout
Il 22 marzo 2012 15:50, Milian Wolff ha scritto:
> On Thursday 22 March 2012 11:08:35 Dominik Haumann wrote:
>> On Thursday, March 22, 2012 10:47:18 Milian Wolff wrote:
>> > Why not Zoidberg? Uhm I mean: ctest --timeout
>>
>> That would do the trick. Is it possible to set this timeout for a singl
On Thursday 22 March 2012 11:08:35 Dominik Haumann wrote:
> On Thursday, March 22, 2012 10:47:18 Milian Wolff wrote:
> > Why not Zoidberg? Uhm I mean: ctest --timeout
>
> That would do the trick. Is it possible to set this timeout for a single
> test in CMakeLists.txt?
yes:
http://www.cmake.org
On Thursday, March 22, 2012 10:47:18 Milian Wolff wrote:
> Why not Zoidberg? Uhm I mean: ctest --timeout
That would do the trick. Is it possible to set this timeout for a single test
in CMakeLists.txt?
On Thursday, March 22, 2012 10:33:49 Alex Fiestas wrote:
> Execute the process with K/QProce
On Wednesday 21 March 2012 22:29:53 Dominik Haumann wrote:
> Moin,
>
> is there a simple way to unit test a freeze?
> Like if the test needs more than 5 seconds, fail?
>
> One way would be to create a thread, start the freeze unit test, and if the
> thread does not finish in some time period, kil
Execute the process with K/QProcess, then try to send a unix signal to it,
that might work as well though it depends on unix signals which are crappy.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
On Thursday, March 22, 2012 01:11:53 Dario Freddi wrote:
> Il 21 marzo 2012 22:29, Dominik Haumann ha scritto:
> > Moin,
> >
> > is there a simple way to unit test a freeze?
> > Like if the test needs more than 5 seconds, fail?
>
> There's no straightforward way to check afaik and I don't really
Il 22 marzo 2012 07:00, Frank Reininghaus ha scritto:
> Hi,
>
> Am 22. März 2012 01:11 schrieb Dario Freddi:
>> Il 21 marzo 2012 22:29, Dominik Haumann ha scritto:
>>> Moin,
>>>
>>> is there a simple way to unit test a freeze?
>>> Like if the test needs more than 5 seconds, fail?
>>
>> There's no
Hi,
Am 22. März 2012 01:11 schrieb Dario Freddi:
> Il 21 marzo 2012 22:29, Dominik Haumann ha scritto:
>> Moin,
>>
>> is there a simple way to unit test a freeze?
>> Like if the test needs more than 5 seconds, fail?
>
> There's no straightforward way to check afaik and I don't really like
> the th
Il 21 marzo 2012 22:29, Dominik Haumann ha scritto:
> Moin,
>
> is there a simple way to unit test a freeze?
> Like if the test needs more than 5 seconds, fail?
There's no straightforward way to check afaik and I don't really like
the thread approach. What are you trying to verify? If the context
Moin,
is there a simple way to unit test a freeze?
Like if the test needs more than 5 seconds, fail?
One way would be to create a thread, start the freeze unit test, and if the
thread does not finish in some time period, kill it and fail. But that's
rather complicated for such a simple thing. M
11 matches
Mail list logo