]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/decorator: Add support for OETimeout decorator
authorMariano Lopez <mariano.lopez@linux.intel.com>
Wed, 9 Nov 2016 17:19:07 +0000 (11:19 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:52 +0000 (12:03 +0000)
commit1bf66a370361912e9950d7ff45e382c93622a169
treea96472cae81731d768d7ac6f51ad9b60ff8ffce0
parent047af4ce864bbf98e2617b348ae9ccb77ac52871
oeqa/core/decorator: Add support for OETimeout decorator

The OETimeout provides support for specify certain timeout
in seconds for a test case, if the timeout is reach the SIGALRM
is sent and an exception is raised to notify the timeout.

[YOCTO #10235]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
meta/lib/oeqa/core/decorator/oetimeout.py [new file with mode: 0644]